Module: Tablesalt::UsesHashForEquality
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/tablesalt/uses_hash_for_equality.rb
Instance Method Summary collapse
- #==(other) ⇒ Object (also: #eql?)
Instance Method Details
#==(other) ⇒ Object Also known as: eql?
9 10 11 |
# File 'lib/tablesalt/uses_hash_for_equality.rb', line 9 def ==(other) hash == other.hash end |