From: Albert Schlef Date: 2010-02-08T07:28:13+09:00 Subject: Re: Symbols and class veriable Jerome David Sallinger wrote: > Hello, Is the any connection between a symbol and a class variable. For > example, if I declare the variable @red_car_speed is this aliased or > connected by :red_car_speed. The section of code that is confuring me > is: > [...] > def draw > background 255 And note that you've sinned here. You didn't keep correct indentation. You cause some readers to misread your code and assume you're confusing instance variables with class instance variables (it's what I initially thought before I noticed there's a "def" there). -- Posted via http://www.ruby-forum.com/.