>>>>> "J" == James Edward Gray <james / grayproductions.net> writes:

J>    p a[0] == a[1] #=> true
J>    # why does this next call do nothing?
J>    p a.uniq       #=> [{:foo=>:bar}, {:foo=>:bar}]

 #uniq first create an hash : this mean that it don't use #== for the
 comparison. 

moulon% ruby -e 'a = [{:f =>:b}, {:f => :b}]; p a[0].eql?(a[1]); p a[0]==a[1]'
false
true
moulon% 


Guy Decoux