Yukihiro Matsumoto
1/19/2007 1:31:00 PM
Hi,
In message "Re: auto assign arguments?"
on Fri, 19 Jan 2007 22:15:33 +0900, "Robert Dober" <robert.dober@gmail.com> writes:
|Right now you can *already* write code like this
|
|class B
| attr_reader :a
| define_method :initialize do |@a| ; end
|end
|I feel that this is worth another shot, maybe Matz could tell us to stop
|working on this if he really does not like it.
|It seems reasonable to assume that the reasons he had to reject the RCR do
|not exist anymore or that he has changed his mind, no?
I haven't changed my mind (yet). And I even disallowed above code in
1.9. Block parameters should only be local variables (and they are
effective only inside the block).
matz.