Stefan Rusterholz wrote:

> John Wells wrote:

>> In a deep inheritance tree,

Note: Deep inheritance trees might be a design issue.

>> is there an easy way to determine the origin
>> or source (module, class) of a method?

> a) Use fri (fast-ri)
> b) Use Method#inspect, example: [].method(:find) # => #<Method:
> Array(Enumerable)#find>

b) seems to assume an irb environment that calls .inspect automatically. 
Try:

  puts [].method(:find).inspect

New question: Parsing the (Enumerable) out would be tacky, so how do we do 
what .inspect was doing when it built that string for us?

-- 
  Phlip