On Thu, Jun 10, 2010 at 4:38 PM, Run Paint Run Run
<redmine / ruby-lang.org> 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