Module: Rodish::Plugins::AfterOptionsHook::DSLMethods

Defined in:
lib/rodish/plugins/after_options_hook.rb

Instance Method Summary collapse

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 after_options(&block)
  @command.after_options = block
end