From: Dave Thomas Date: 2008-08-11T08:58:55+09:00 Subject: Re: How to redefine != method? On Aug 10, 2008, at 6:53 PM, Iņaki Baz Castillo wrote: > Hi, I can redefine == method by doing: > > def ==(string) > > but it gives me an error if I try: > > def !=(string) != is simply a negated call to ==, so defining == also changes the definition of !=. Regards Dave Thomas