Class: Loops::Commands::DebugCommand
- Inherits:
-
Loops::Command
- Object
- Loops::Command
- Loops::Commands::DebugCommand
- Defined in:
- lib/loops/commands/debug_command.rb
Instance Attribute Summary
Attributes inherited from Loops::Command
Instance Method Summary collapse
Methods inherited from Loops::Command
#initialize, #invoke, #requires_bootstrap?
Constructor Details
This class inherits a constructor from Loops::Command
Instance Method Details
#execute ⇒ Object
2 3 4 5 6 7 |
# File 'lib/loops/commands/debug_command.rb', line 2 def execute Loops.logger.write_to_console = true puts "Starting one loop in debug mode: #{[:args].first}" engine.debug_loop!([:args].first) exit(0) end |