class LightIO::Watchers::Timer
Attributes
interval[R]
uuid[RW]
Public Class Methods
new(interval)
click to toggle source
# File lib/lightio/watchers/timer.rb, line 7 def initialize(interval) @interval = interval end
Public Instance Methods
start(ioloop)
click to toggle source
# File lib/lightio/watchers/timer.rb, line 11 def start(ioloop) ioloop.add_timer(self) end