Origin of a definition

Is there any way to find out the filename and line number of a
definition such as a class or method at runtime?

···

--
Posted via http://www.ruby-forum.com/.

I ran across this blog post once and bookmarked it, perhaps this will
work for you.

http://aaronbedra.com/2008/6/12/slight-of-hand-for-the-ruby-man

···

On Jul 7, 1:00 am, Oliver Saunders <oliver.saund...@gmail.com> wrote:

Is there any way to find out the filename and line number of a
definition such as a class or method at runtime?
--
Posted viahttp://www.ruby-forum.com/.