Class: LightIO::Watchers::Schedule

Inherits:
Watcher
  • Object
show all
Defined in:
lib/lightio/watchers/schedule.rb

Instance Attribute Summary

Attributes inherited from Watcher

#callback

Instance Method Summary collapse

Methods inherited from Watcher

#set_callback

Instance Method Details

#start(ioloop) ⇒ Object



4
5
6
# File 'lib/lightio/watchers/schedule.rb', line 4

def start(ioloop)
  ioloop.add_callback(&@callback)
end