From: Steve Klabnik Date: 2011-06-21T02:20:25+09:00 Subject: Re: What about Object#to_ruby ? --001517475ee24e0bef04a627f398 Content-Type: text/plain; charset=ISO-8859-1 I believe pry has this kind of thing: https://github.com/banister/pry From its readme: pry(Pry):1> show-method rep -l From: /home/john/ruby/projects/pry/lib/pry/pry_instance.rb @ line 143: Number of lines: 6 143: def rep(target=TOPLEVEL_BINDING) 144: target = Pry.binding_for(target) 145: result = re(target) 146: 147: show_result(result) if should_print? 148: end --001517475ee24e0bef04a627f398--