Method: OpenStruct#hash
- Defined in:
- lib/ostruct.rb
#hash ⇒ Object
Compute a hash-code for this OpenStruct. Two hashes with the same content will have the same hash code (and will be eql?).
283 284 285 |
# File 'lib/ostruct.rb', line 283 def hash @table.hash end |