First page Back Continue Last page Overview Graphics
Accessing Instance Variables
Instance variables are always private.
Accessing instance variables must be done via methods.
Accessor/mutator methods can be added easily by using the attr_* methods.
The attr_* methods take “symbols” as arguments.