On 8/25/06, Christian Neukirchen <chneukirchen / gmail.com> 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.)

Um. Me. That would totally rock.

  def foo
    blah
    blah
    my_block = current_block if block_given?
  end

That would mean that I wouldn't need block boxing unless that path was
taken in code.

-austin
-- 
Austin Ziegler * halostatue / gmail.com * http://www.halostatue.ca/
               * austin / halostatue.ca * http://www.halostatue.ca/feed/
               * austin / zieglers.ca