From: bparanj Date: 2009-09-25T07:25:06+09:00 Subject: Re: Redefining hat operator for Proc > > If you do Proc.instance_method(:<=>), what do you get?  If nil, then > it's not overridden. > > Cheers > >         robert irb(main):005:0> p = Proc.instance_method(:<=>) NameError: undefined method `<=>' for class `Proc' from (irb):5:in `instance_method' from (irb):5 from /usr/local/bin/irb:12:in `
' Looks like it is safe to redefine it. Thanks.