On Fri, Aug 25, 2006 at 06:51:45PM +0900, Christian Neukirchen wrote: > While we are at adding methods, who else would like ot have a method > that returns the current block, so you can access it without needing > to declare it in the arguments list? (And likewise for lambda{}, even > if 1.9 fixes that.) Like Proc.new ? IIRC there were plans to deprecate it in 1.9, so that request seems to go against the tide of change :) (but it still seems to work, though): RUBY_VERSION # => "1.8.5" RUBY_RELEASE_DATE # => "2006-08-25" def a; Proc.new.call end a {1+1} # => 2 RUBY_VERSION # => "1.9.0" RUBY_RELEASE_DATE # => "2006-08-13" def a; Proc.new.call end a{1+1} # => 2 -- Mauricio Fernandez - http://eigenclass.org - singular Ruby