instance variables « Class « Ruby






1.In Ruby, you prefix instance variables with an at sign @
2.Using a Constructor to Configure Objects
3.Print out the instance variable
4.Adding more accessors
5.class variable vs object variable