Method: CommandTimer::Command#run_observer
- Defined in:
- lib/command_timer/command.rb
#run_observer ⇒ Object
30 31 32 33 34 35 36 37 |
# File 'lib/command_timer/command.rb', line 30 def run_observer puts "========================================" puts "= Start observer, press <Ctrl-C> to stop it." puts "= #{@observer}" puts "========================================" system @observer puts "Observer stopped." end |