From: Martin DeMello Date: 2009-01-12T19:06:29+09:00 Subject: Re: How Ruby On Mon, Jan 12, 2009 at 11:56 AM, Mike Stephens wrote: > been specifically declared as public or global. Ruby of course allows > you to directly access data declared as private. These are examples of Ruby does not. Try this class A def initialize @foo = 28 end end a = A.new a.foo What it does do is provide you with convenience methods named after the variable *if you ask for them* via attr_reader and attr_writer or attr_accessor. martin