Ruby Gold

Ruby Association Certified Ruby Programmer Gold

Standard LibraryEnglish
Exam overview

Practice session

What does this print? require "forwardable" class Playlist extend Forwardable def_delegators :@songs, :size, :first def initialize = @songs = ["a", "b", "c"] end p = Playlist.new puts p.size puts p.first

Loading your practice session…