On Thursday 05 May 2005 14:31, ts wrote:
> >>>>> "A" == Andrew Walrond <andrew / walrond.org> writes:
>
> A>  irb(main):033:0> {1=>2}=={1=>2} => true
> A>  irb(main):034:0> {1=>2}==={1=>2} => true
> A>  irb(main):035:0> {1=>2}.eql?({1=>2}) => false
>
> svg% ./irb
> irb(main):001:0> RUBY_VERSION
> => "1.9.0"
> irb(main):002:0> {1=>2}=={1=>2}
> => true
> irb(main):003:0> {1=>2}==={1=>2}
> => true
> irb(main):004:0> {1=>2}.eql?({1=>2})
> => true
> irb(main):005:0> svg%
>

I assume {1=>2}.hash == {1=>2}.hash on 1.9 ?

(Ie should I override hash or eql? to make the behaviour consistent across 
versions)

Andrew