lib/rufus/scheduler/cronline.rb in rufus-scheduler-3.3.2 vs lib/rufus/scheduler/cronline.rb in rufus-scheduler-3.3.3

- old
+ new

@@ -84,10 +84,10 @@ [ @seconds, @minutes, @hours, @months ].each do |es| fail ArgumentError.new( "invalid cronline: '#{line}'" - ) if es && es.find { |e| ! e.is_a?(Fixnum) } + ) if es && es.find { |e| ! e.is_a?(Integer) } end if @days && @days.include?(0) # gh-221 fail ArgumentError.new('invalid day 0 in cronline')