class Gettmp
Public Class Methods
c2f(tmp)
click to toggle source
# File lib/tmpcov.rb, line 2 def self.c2f(tmp) celsius = Celsius.new(tmp) celsius.toFahrenheit end
f2c(tmp)
click to toggle source
# File lib/tmpcov.rb, line 7 def self.f2c(tmp) fahrenheit = Fahrenheit.new(tmp) fahrenheit.toCelsius end