Lesson 13 of 26 · +100 xp

attr_accessor

Getters and setters.

Explained simply

Your task

Write: attr_accessor :name, :age

attr.ruby
← Back