lib/noaa/forecast_summary.rb
def maxima
      @maxima ||= @doc.xpath(%q{/dwml/data/parameters[1]/temperature[@type='maximum'][@units='Fahrenheit'][1]/value/text()}).map do |node|
        node.to_s.to_i
      end
    end
#
# The number of days provided by the forecast
#
The number of days provided by the forecast
The number of days provided by the forecast
def maxima
      @maxima ||= @doc.xpath(%q{/dwml/data/parameters[1]/temperature[@type='maximum'][@units='Fahrenheit'][1]/value/text()}).map do |node|
        node.to_s.to_i
      end
    end
def maxima @maxima ||= @doc . xpath ( %q{/dwml/data/parameters[1]/temperature[@type='maximum'][@units='Fahrenheit'][1]/value/text()} ) . map do | node | node . to_s . to_i end end
The number of days provided by the forecast
The number of days provided by the forecast