On Nov 7, 2004, at 8:05, James Britt wrote:

> And how can someone get
>  attr_reader :foo
>
> to appear with the method definitions?

Make it a method?   :)

It seems to be that if you're trying to save typing by entering

     attr_reader :foo

rather than

    def foo; @foo; end

you're giving up a fair amount of clarity in your source to save 3 
characters. If it's a method, why not make it a method?


Cheers

Dave