Module: AUOM::Equalization
- Included in:
- Unit
- Defined in:
- lib/auom/equalization.rb
Overview
Equalization for auom units
Instance Method Summary collapse
-
#==(other) ⇒ true, false
Check for equivalent value and try to convert.
Instance Method Details
#==(other) ⇒ true, false
Check for equivalent value and try to convert
30 31 32 |
# File 'lib/auom/equalization.rb', line 30 def ==(other) eql?(self.class.try_convert(other)) end |