lib/polling.rb in polling-0.1.4 vs lib/polling.rb in polling-0.1.5
- old
+ new
@@ -37,12 +37,10 @@
loop { exec_arr.call interval }
else
Sleep.exec e.stime(:debug=>@debug)
loop { exec.call interval }
end
- rescue => ex
- $stderr.puts ex.to_s
end
def async_run interval=@interval, debug=false
@debug ||= debug
e = Engine.new
@@ -65,11 +63,9 @@
raise "Can't input Array class : #{interval}"
end
e.__send__(:start_print, 0) if @print_start_time || @debug
loop { exec.call interval }
- rescue => ex
- $stderr.puts ex.to_s
end
private
def set_instance_variables variables