lib/rufus/scheduler/zotime.rb in rufus-scheduler-3.1.9 vs lib/rufus/scheduler/zotime.rb in rufus-scheduler-3.1.10
- old
+ new
@@ -99,10 +99,10 @@
end
begin
DateTime.parse(str)
rescue
- raise ArgumentError, "no time information in #{o.inspect}"
+ fail ArgumentError, "no time information in #{o.inspect}"
end if RUBY_VERSION < '1.9.0'
zone = nil
s =