From: jason r tibbetts Date: 2005-07-15T23:32:09+09:00 Subject: Re: difference? Daniel Brockman wrote: > "Gene Tani" writes: > > >>Hmm, seems to be few ways to test/monitor >>membership/inheritance/mix-in-ness: > > > Indeed. :-) > > >>Object#kind_of?, #is_a?, >> >>Module#ancestors, >> >>MyClassname === myobj > > > Interestingly, you've listed these in order of preference: > > * foo.kind_of? Foo --- perfect > * foo.is_a? Foo --- unrubyish due to `is_*?' What's unrubyish about is_a?