Class: Percheron::Commands::Purge
- Defined in:
- lib/percheron/commands/purge.rb
Instance Method Summary collapse
Methods inherited from Abstract
#config, default_parameters!, #runit, #stack
Instance Method Details
#execute ⇒ Object
9 10 11 12 |
# File 'lib/percheron/commands/purge.rb', line 9 def execute super runit { stack.purge!(unit_names: unit_names, force: force?) if yes? || confirm? } end |