Module: WeatherData::Temperature::HelperMethods
- Defined in:
- lib/weather_data/temperature.rb
Instance Method Summary collapse
Instance Method Details
#celsius ⇒ Object
25 26 27 |
# File 'lib/weather_data/temperature.rb', line 25 def celsius Celsius.new(self) end |
#fahrenheit ⇒ Object
29 30 31 |
# File 'lib/weather_data/temperature.rb', line 29 def fahrenheit Fahrenheit.new(self) end |
#kelvin ⇒ Object
33 34 35 |
# File 'lib/weather_data/temperature.rb', line 33 def kelvin Kelvin.new(self) end |