On Oct 18, 2005, at 10:51 AM, Daniel Schierbeck wrote: > Tell me if this is stupid. I'm sure there's a simpler and faster > way to do this, but I'm interested in knowing whether the idea > itself is... well, stupid. > [snip] > Basically, when I call obj.quacks_like? Klass I ask if every public > method defined in Klass is defined in obj as well. No, not stupid. Why do you want to know that? > > > Cheers, > Daniel > > ---- Bob Hutchison -- blogs at <http://www.recursive.ca/hutch/> Recursive Design Inc. -- <http://www.recursive.ca/> Raconteur -- <http://www.raconteur.info/>