lib/weather-api/utils.rb in weather-api-1.1.1 vs lib/weather-api/utils.rb in weather-api-1.2.0
- old
+ new
@@ -4,10 +4,10 @@
class Utils
# Attempts to convert passed text into a Time object
#
# Returns a Time object or nil
- def self.parse_time text = ''
+ def self.parse_time(text = '')
if text == ''
return nil
end
begin