Method: Thread::Every#restart

Defined in:
lib/thread/every.rb

#restartObject

Restart the every.



109
110
111
112
113
114
115
# File 'lib/thread/every.rb', line 109

def restart
	@mutex.synchronize {
		@thread.raise Restart.new
	}

	self
end