From: Sean O'Halpin Date: 2009-04-20T08:14:55+09:00 Subject: Re: Reffering back to caller's binding On Sun, Apr 19, 2009 at 9:28 PM, Ryan Davis wrote: > > On Apr 19, 2009, at 03:41 , Sean O'Halpin wrote: > >> I agree - it would be nice if this was built-it. However, you can get >> it with ParseTree: >> >> require 'ruby2ruby' >> require 'parse_tree_extensions' >> def dump(&block) >>  puts block.to_ruby.gsub(/^proc\s*\{(.*)\}$/, '\1').strip >>  puts block.call >> end > > except that PT is essentially dead because it can't work on 1.0... I'm in denial :/