method
attr_reader
v1_9_3_392 -
Show latest stable
- Class:
Module
attr_reader(*args)private
Creates instance variables and corresponding methods that return the value of each instance variable. Equivalent to calling “attr:name” on each name in turn.