Class: Resque::Cli::Worker
- Inherits:
-
Thor
- Object
- Thor
- Resque::Cli::Worker
- Defined in:
- lib/resque/cli.rb
Instance Method Summary collapse
Instance Method Details
#list ⇒ Object
31 32 33 |
# File 'lib/resque/cli.rb', line 31 def list puts ::Resque.workers end |
#remove(worker_id) ⇒ Object
41 42 43 |
# File 'lib/resque/cli.rb', line 41 def remove(worker_id) puts ::Resque.remove_worker(worker_id) end |
#working ⇒ Object
36 37 38 |
# File 'lib/resque/cli.rb', line 36 def working puts ::Resque.working end |