Module: DataMapper::Equalizer
- Included in:
- Adapters::AbstractAdapter, OrderedSet, Property, Query, Query::Conditions::AbstractComparison, Query::Conditions::AbstractOperation, Query::Operator, Query::Path, Repository, Resource::PersistenceState
- Defined in:
- lib/dm-core/support/equalizer.rb
Instance Method Summary collapse
Instance Method Details
#equalize(*methods) ⇒ Object
3 4 5 6 7 |
# File 'lib/dm-core/support/equalizer.rb', line 3 def equalize(*methods) define_eql_method(methods) define_equivalent_method(methods) define_hash_method(methods) end |