Method: OpenStruct#==
- Defined in:
- lib/ostruct.rb
#==(other) ⇒ Object
Compare this object and other for equality.
142 143 144 145 |
# File 'lib/ostruct.rb', line 142 def ==(other) return false unless(other.kind_of?(OpenStruct)) return @table == other.table end |