gem.sh
gem.sh
Home
Gems
Types
Docs
Community
Quick search...
Classes
class OpenStruct
Overview
H
Home
R
Reference
T
Types
C
Changelogs
Documentation
README
More
Versions
Source
Playground
Stats
Metadata
Wiki
Announcements
Community
Articles
Tutorials
Videos
Community
Gems
ostruct
0.1.0
class OpenStruct
# hash
Select a tab
README
Metadata
Source
Versions
Changelogs
Guides
Articles
Reference
Playground
Videos
Types
Community
Stats
Announcements
class OpenStruct
def hash
See also Object#hash.
(and will compare using #eql?).
Two OpenStruct objects with the same content will have the same hash code
Computes a hash code for this OpenStruct.
def
hash
@table
.
hash
end
Instance Methods
# ==
# []
# []=
# delete_field
# dig
# each_pair
# eql?
# freeze
# hash
# initialize
# initialize_copy
# inspect
# marshal_dump
# marshal_load
# method_missing
# modifiable?
# new_ostruct_member!
# respond_to_missing?
# to_h