Class: Mccloud::Command::HaltCommand
- Defined in:
- lib/mccloud/command/halt.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from Helpers
Constructor Details
This class inherits a constructor from Mccloud::Command::Base
Instance Method Details
#execute ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/mccloud/command/halt.rb', line 8 def execute env.load! env.config.providers.each do |name,provider| env.logger.debug("Asking provider #{name} to halt box #{box_name}") provider.halt(box_name,) end end |