method

hash

ruby latest stable - Class: OpenStruct
hash()
public

Computes a hash code for this OpenStruct. Two OpenStruct objects with the same content will have the same hash code (and will compare using #eql?).

See also Object#hash.