Class: YahooWeather

Inherits:
Object
  • Object
show all
Defined in:
lib/yahoo-weather.rb

Defined Under Namespace

Classes: Astronomy, Client, Condition, Forecast, Image, Location, Response, Units, Wind

Constant Summary collapse

VERSION =
'1.2.0'

Class Method Summary collapse

Class Method Details

._parse_time(text) ⇒ Object



26
27
28
# File 'lib/yahoo-weather.rb', line 26

def self._parse_time (text)
  (text) ? Time.parse(text) : nil
end