Class: YahooWeather

Inherits:
Object
  • Object
show all
Defined in:
lib/ywx.rb

Defined Under Namespace

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

Constant Summary collapse

VERSION =
'0.1.3'

Class Method Summary collapse

Class Method Details

._parse_time(text) ⇒ Object



27
28
29
# File 'lib/ywx.rb', line 27

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