From: Victor Shepelev Date: 2006-05-26T14:50:27+09:00 Subject: Re: Method '!=' From: Alder Green [mailto:alder.green@gmail.com] Sent: Friday, May 26, 2006 8:44 AM > On 5/26/06, Victor Shepelev wrote: > > From: Justin Collins [mailto:collinsj@seattleu.edu] > > Sent: Friday, May 26, 2006 8:28 AM > > ... > > It's intuitively understandable; but I feel myself very uncomfortable > when I > > can *call*, but can't *send*. OK, would remember this one. > > > > > -Justin > > You can't call: > > irb(main):007:0> 'a'.!= 'b' > SyntaxError: compile error > (irb):7: parse error, unexpected tNEQ > 'a'.!= 'b' > ^ > > So it actually makes sense: you can't call, so you can't send. Hmmm... Really :) So, other question: is there way for uniform compare objects by some operator? (where operator is either == or != or <, or even include?) > -Alder Victor.