Method: Wake::Controller#run
- Defined in:
- lib/wake/controller.rb
#run ⇒ Object
Enters listening loop.
Will block control flow until application is explicitly stopped/killed.
46 47 48 49 50 |
# File 'lib/wake/controller.rb', line 46 def run @script.parse! handler.listen(monitored_paths) rescue Interrupt end |