On 09.10.2007 18:12, Logan Capaldo wrote:
> On 10/9/07, Matt Margolis <matt / mattmargolis.net> wrote:
>> Logan Capaldo wrote:
>>> On 10/9/07, Matt Margolis <matt / mattmargolis.net> wrote:
>>>> Is achieving this behavior as simple as redefining some operator methods
>>>> like == or is this sort of behavior not possible in Ruby?
>>>>
>>>>
>>> The latter.
>>>
> 
> Quoting myself. In other words, no you can't do it.

An alternative approach might be to use 'case' expressions instead of 
'if' and implement #=== properly in that class.

Matt, what are you implementing?  Why is this functionality crucial?

Kind regards

	robert