From: Robert Klemme Date: 2009-10-08T05:10:04+09:00 Subject: Re: Does Ruby have a 'which' like method On 10/07/2009 09:42 AM, Scott G Smith wrote: > It turns out the answer to my question was actually answered by me > when I was taking out the trash. > > The answer is: Just use the debugger. > When I "step into" a method, > the debugger gives me the file name of that method. An alternative is to use set_trace_func: IIRC that also provides file name and line number so you can identify the source. Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/