Instance Variable

Edit this Page

An instance variable is data stored within an instance of a class. It is prefixed with an @.

Instance variables are only reference-able within instance methods.