Class: Contracto::Command::Stop
- Inherits:
-
Object
- Object
- Contracto::Command::Stop
- Defined in:
- lib/contracto/command/stop.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(args) ⇒ Stop
constructor
A new instance of Stop.
Constructor Details
#initialize(args) ⇒ Stop
Returns a new instance of Stop.
2 3 |
# File 'lib/contracto/command/stop.rb', line 2 def initialize(args) end |
Instance Method Details
#execute ⇒ Object
5 6 7 |
# File 'lib/contracto/command/stop.rb', line 5 def execute Contracto::SystemActionChain.new(*actions).execute end |