--bcaec53f395b32c89504b5487181
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On Thu, Dec 29, 2011 at 5:47 PM, Nikolai Weibull <now / bitwi.se> wrote:

>
> I seem to have failed in communicating what I√ő after.  I wasn√’ after
> different ways of implementing #hash, I was after the golden standard
> of #hash implementations for value objects.  So, again, what√‘ the
> standard way of implementing #hash for value objects in Ruby?
>
> If there isn√’ one, perhaps one should be agreed upon?
>
>
If there is one, I don't know what it is, which implies there isn't one.

I usually just delegate to one of my attributes' hash methods (e.g. for a
user, I might use its user's name's hash). I'm not sure what advantage
would be gained by establishing a standard.

--bcaec53f395b32c89504b5487181--