Class: Geera::Commands::Assign
- Defined in:
- lib/geera/commands/assign.rb
Instance Attribute Summary
Attributes inherited from Command
#argv, #config, #geera, #number
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from Command
Constructor Details
This class inherits a constructor from Geera::Commands::Command
Class Method Details
.handle?(command) ⇒ Boolean
4 5 6 |
# File 'lib/geera/commands/assign.rb', line 4 def self.handle? command 'assign' == command end |
Instance Method Details
#execute! ⇒ Object
8 9 10 |
# File 'lib/geera/commands/assign.rb', line 8 def execute! ticket.assign_to argv.shift end |