From: Roger Pack Date: 2010-06-11T08:12:53+09:00 Subject: [ruby-core:30724] Re: [Feature #3424] Source code interaction. [new ideas for ruby 2] On Thu, Jun 10, 2010 at 4:38 PM, Run Paint Run Run wrote: > Issue #3424 has been updated by Run Paint Run Run. > > > We're actually close already. Look at Method#source_location to find the file and line where a method was defined... This (and ParseTree for 1.8) are what I leverage in my gem "ri_for" http://github.com/rdp/ri_for It basically gives you Dog.ri_for :bark re: irb for the standard shell What I wouldn't give (a few such projects exist but I'm not too familiar with them...) :) Enjoy! -rp