From: Tim Hunter Date: 2006-07-13T03:45:42+09:00 Subject: Re: Determining a class's ancestor easily without instances Wes Gamble wrote: > I looked all over the Pickaxe reference to find it but I couldn't it. > > I guess the "basic" operators are not documented, even when they're > overridden in clever ways? > > Thanks, > Wes Look in the Pickaxe 1st Ed., in the documentation for the Module class, under "Instance Methods." The <, <=, >, >= methods are documented. "One module is considered greater than another if it is included in (or is a parent class of) the other module. The other operators are defined accordingly. If there is no relationship between the modules, returns false for all operators." -- Posted via http://www.ruby-forum.com/.