Module: Yweather::Utils
Instance Method Summary collapse
Instance Method Details
#parse_time(data) ⇒ Object
3 4 5 |
# File 'lib/yweather/utils.rb', line 3 def parse_time(data) data ? Time.parse(data) : nil end |
3 4 5 |
# File 'lib/yweather/utils.rb', line 3 def parse_time(data) data ? Time.parse(data) : nil end |