On Mon, Jan 12, 2009 at 11:56 AM, Mike Stephens <rubfor / recitel.net> 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