Class: Ace::Demo::Molecules::DemoTeardownExecutor
- Inherits:
-
Object
- Object
- Ace::Demo::Molecules::DemoTeardownExecutor
- Defined in:
- lib/ace/demo/molecules/demo_teardown_executor.rb
Constant Summary collapse
- VALID_TEARDOWN_DIRECTIVES =
["cleanup", "run:"].freeze
Instance Method Summary collapse
Instance Method Details
#execute(steps:, sandbox_path:) ⇒ Object
12 13 14 15 16 17 18 |
# File 'lib/ace/demo/molecules/demo_teardown_executor.rb', line 12 def execute(steps:, sandbox_path:) return if steps.nil? steps.each do |step| execute_teardown_step(step, sandbox_path: sandbox_path) end end |