Class WeatherHacks::LWWS::Celsius
In: lib/weatherhacks/lwws.rb
Parent: Temperature

Methods

new  

Public Class methods

[Source]

    # File lib/weatherhacks/lwws.rb, line 76
76:     def initialize(elt)
77:       max = elt.elements["max/celsius"].text
78:       @max = max.to_i if max
79:       min = elt.elements["min/celsius"].text
80:       @max = min.to_i if min
81:     end

[Validate]