module Her::Model::ORM::ComparisonMethods
Public Instance Methods
==(other)
click to toggle source
Return ‘true` if the other object is also a Her::Model
and has matching data
# File lib/her/model/orm/comparison_methods.rb, line 8 def ==(other) other.is_a?(Her::Model) && @data == other.data end
eql?(other)
click to toggle source
Delegate to the == method
# File lib/her/model/orm/comparison_methods.rb, line 13 def eql?(other) self == other end