Class: Axiom::Equalizer
- Inherits:
-
Equalizer
- Object
- Equalizer
- Axiom::Equalizer
- Defined in:
- lib/axiom/support/equalizer.rb
Overview
Define equality, equivalence and inspection methods
Instance Method Summary collapse
-
#initialize ⇒ undefined
constructor
private
Include the #eql? and #== methods.
Constructor Details
#initialize ⇒ undefined
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Include the #eql? and #== methods
13 14 15 16 17 18 19 |
# File 'lib/axiom/support/equalizer.rb', line 13 def initialize(*) super module_eval do include Adamantium memoize :hash end end |