From: Ryan Davis Date: 2009-04-20T05:28:01+09:00 Subject: Re: Reffering back to caller's binding 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...