Method: Quantify::Quantity#subtract

Defined in:
lib/quantify/quantity.rb

#subtract(other) ⇒ Object Also known as: -



235
236
237
# File 'lib/quantify/quantity.rb', line 235

def subtract(other)
  Quantity.new(@value,@unit).subtract!(other)
end