Module: DataMapper::Equalizer

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