class Concurrent::TimerTask
def execution_interval=(value)
-
(Fixnum)
- Number of seconds after the task completes before the
def execution_interval=(value) if (value = value.to_f) <= 0.0 raise ArgumentError.new('must be greater than zero') else synchronize { @execution_interval = value } end end