Hello all,

In the Java world when one overrides "equals" in a class it is also
necessary to override "hashCode" so that objects behave properly in
collections.  Does the same apply in the Ruby world, ie, it is
necessary to override "hash" when overriding "=="?

Are there helper idioms or libraries in Ruby to assist in constructing
"==" and "hash" methods (comparable to Java's Jakarta commons
HashCodeBuilder and EqualsBuilder)?

Thanks,  

--Brian