Method: Exercise::Instructions#after_rendering_run
- Defined in:
- lib/commands/exercise/instructions.rb
#after_rendering_run(command) ⇒ String
Runs the given command after the current template has been rendered. This is useful for running commands to clean clean up. E.g. stopping a server that was previously started.
31 32 33 34 |
# File 'lib/commands/exercise/instructions.rb', line 31 def after_rendering_run(command) after_rendering_commands << command command end |