From: Stefan Matthias Aust Date: 2001-05-24T06:41:06+09:00 Subject: [ruby-talk:15622] Re: help attr_reader bashar asad wrote: >hi >I initialize it and it worked ... but when can I use the attr_reader as a >short cut attr_reader :x is a just shortcut for def x() @x end and attr_writer :x for def x(x) @x = x end and finally attr_accessor :x for both "def"s. bye -- Stefan Matthias Aust \/ Truth Until Paradox