module NumericWithUnit::CORE_EXT::Numeric

Public Instance Methods

to_nwu(unit) click to toggle source
# File lib/numeric_with_unit/core_ext.rb, line 8
def to_nwu(unit)
  NumericWithUnit.new(self, unit)
end