lib/fugit/cron.rb in fugit-1.5.3 vs lib/fugit/cron.rb in fugit-1.6.0
- old
+ new
@@ -36,10 +36,10 @@
s = SPECIALS[s] || s
return nil unless s.is_a?(String)
#p s; Raabro.pp(Parser.parse(s, debug: 3), colors: true)
- h = Parser.parse(s)
+ h = Parser.parse(s.strip)
return nil unless h
self.allocate.send(:init, s, h)
end