Module | Equatable |
In: |
lib/equatable.rb
lib/equatable/version.rb |
encoding: utf-8
VERSION | = | '0.5.0' |
comparison_attrs | [R] |
Holds all attributes used for comparison.
@return [Array<Symbol>] @api private |
Hook into module inclusion.
@param [Module] base
the module or class including Equatable
@return [self]
@api private
Objects that include this module are assumed to be value objects. It is also assumed that the only values that affect the results of equality comparison are the values of the object‘s attributes.
@param [Array<Symbol>] *args
@return [undefined]
@api public