Yukihiro Matsumoto
8/26/2008 3:11:00 PM
Hi,
In message "Re: Passing a block with define_method"
on Tue, 26 Aug 2008 23:30:21 +0900, "James Coglan" <jcoglan@googlemail.com> writes:
|but this does not -- the interpreter complains about unexpected ampersands:
|
|define_method(:some_method) do |*args, &block|
| # ...
|end
You have to wait until 1.9.
matz.