Stefan Matthias Aust spake: > ... > attr_reader :x > > is a just shortcut for > > def x() @x end > > and > > attr_writer :x > > for > > def x(x) @x = x end > ... Well -- I'm sure it was a typo, but the writer would be x=(x), not x(x). And of course if you wanted to write them out on one line you'd need semicolons. def x=(x); @x=x; end -- Mark