------art_14048_29973871.1163670359099
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On 11/16/06, ravi rao <rao.ravi.m / gmail.com> wrote:
>
> Hi,
> Why cant i have an attribute reader for a class variable.
> Thanks,
> Ravi Rao
>
>
The reason being that in Ruby, instance variables are exposed to the outside
world via one of the attr family of methods.

-- 
Satish Talim
Learning Ruby - http://rubylearning.com/

------art_14048_29973871.1163670359099--