Module: Rodish::Plugins::AfterOptionsHook::DSLMethods
- Defined in:
- lib/rodish/plugins/after_options_hook.rb
Instance Method Summary collapse
-
#after_options(&block) ⇒ Object
Sets the after_options block.
Instance Method Details
#after_options(&block) ⇒ Object
Sets the after_options block. This block is executed in the same context as the run block would be executed, directly after option parsing.
20 21 22 |
# File 'lib/rodish/plugins/after_options_hook.rb', line 20 def (&block) @command. = block end |