Method: Sym::App::Commands.order
- Defined in:
- lib/sym/app/commands.rb
.order(command_class, after) ⇒ Object
28 29 30 31 |
# File 'lib/sym/app/commands.rb', line 28 def order(command_class, after) self.dependency[command_class.short_name].unshift(after) if after self.dependency[command_class.short_name].flatten! end |