Method: Quantify::Unit::Base#reciprocalize
- Defined in:
- lib/quantify/unit/base_unit.rb
#reciprocalize ⇒ Object
Return new unit representing the reciprocal of self, i.e. 1/self
493 494 495 |
# File 'lib/quantify/unit/base_unit.rb', line 493 def reciprocalize Unit.unity / self end |