Sections
attr_reader
1 thread tagged with this topic
Threads tagged attr_reader
- ✓
How do attr_accessor, attr_reader and attr_writer work in Ruby?
They write small methods for you. attrreader creates a method that returns an instance variable, attrwriter creates a method that sets it, and attraccessor...
0replies