Method: UOM::Unit#*

Defined in:
lib/uom/unit.rb

#*(other) ⇒ Object

Returns a product CompositeUnit consisting of this unit and the other unit, e.g.:

(Unit.for(:pound) * Unit.for(:inch)).label #=> foot_pound


151
152
153
# File 'lib/uom/unit.rb', line 151

def *(other)
  CompositeUnit.for(self, other, :*)
end