Class: Conveyor::Input::Commands
- Inherits:
-
Object
- Object
- Conveyor::Input::Commands
- Defined in:
- lib/conveyor/input/commands.rb
Class Method Summary collapse
Class Method Details
.listeners(*opts) ⇒ Object
10 11 12 13 |
# File 'lib/conveyor/input/commands.rb', line 10 def listeners(*opts) puts "Watching: " puts "\t" + Conveyor::Foreman.instance.workers.keys.join("\n\t") end |
.stop(*opts) ⇒ Object Also known as: exit
5 6 7 |
# File 'lib/conveyor/input/commands.rb', line 5 def stop(*opts) Kernel.exit end |
.unknown(cmd = nil) ⇒ Object
15 16 17 |
# File 'lib/conveyor/input/commands.rb', line 15 def unknown(cmd = nil) puts "Unknown command #{cmd}" end |