From: ruby-talk@... Date: 2002-04-11T03:11:10+09:00 Subject: Re: mix-in dependancy Paul Brannan writes: > On Wed, Apr 10, 2002 at 10:36:52AM +0900, Yohanes Santoso wrote: > > What I want is for the including to fail if A does not have #<=>. Is > > there a built-in mechanism to detect this or should I do this > > manually: > > I know of no built-in mechanism. However, RubyTreasures has something > for this: > > http://rm-f.net/~cout/ruby/treasures/RubyTreasures-0.3/lib/hacks/safe_mixin.rb.html Just curious, where do you guys find useful URLs like above? Thanks for the pointer! YS.