I would like to know if there is a way to definitively tell which file a
given method was defined in.
Basically I’m trying to understand what a method does and would like to
look in the file that defines it to better understand it. I’ve got IRB
running and I’d like to do something like:
but this doesn’t exactly tell me where the method is defined so I can’t
go figure exactly what it does.