From: Eric Hodel Date: 2007-08-15T03:49:23+09:00 Subject: Re: Can ri distinguish core methods from 3rd party methods? [was: Non Existent Method Dir.empty? Description via "ri"] On Aug 14, 2007, at 10:54, Daniel Berger wrote: > On Aug 14, 11:33 am, "Wolfgang N�dasi-donner" > wrote: >> Daniel Berger wrote: >>> You're picking up Dir.empty? from win32-dir, which ships with the >>> one- >>> click installer. In order to use it, you have to require it >>> first. :) >> >> Unfortunately it is not visible in the ri output where the method >> comes >> from. > > That's an excellent point Wolfgang. There ought to be a way within ri > for a user to distinguish between a core method and a method added on > by a 3rd party library. I haven't double checked the ri options, but I > don't think there's a way. ri --system $ ri Rake::Task -f simple Class: Rake::Task [...] $ ri --system Rake::Task -f simple Nothing known about Rake::Task -- Poor workers blame their tools. Good workers build better tools. The best workers get their tools to do the work for them. -- Syndicate Wars