On Feb 29, 2008, at 1:20 PM, Trans wrote:

>
>
> On Feb 24, 4:43 pm, Gary Wright <gwtm... / mac.com> wrote:
>
>> Facets defines Hash#- based on [key,value] pairs and not keys.  An
>> argument can be made for either approach but you can't integrate code
>> bases that have different expectations for Hash#-.
>
> BTW, there is a reason for that. You can do:
>
>  ahash - otherhash.keys
>
> T.
>

That does not hurt the argument. If you expect this, you are fine.
If you define or expect a different interpretation, you are in a world  
of pain.

But it can be argued that you should be aware of this, especially when  
you
are using Facets, which consists of a high number of such cases.

Florian Gilcher