Method: Tempura::Temperature#to

Defined in:
lib/tempura/temperature.rb

#toObject

Returns Conversion for the receiver, which recieves the name of the scale to convert to. E.g.,

c = Tempura::Celsius.new(100)
c.to.fahrenheit #=> <Tempura::Fahrenheit ...


65
66
67
# File 'lib/tempura/temperature.rb', line 65

def to
  Tempura::Conversion.new(self)
end