module Rodish::Plugins::AfterOptionsHook::DSLMethods

  1. lib/rodish/plugins/after_options_hook.rb

Methods

Public Instance

  1. after_options

Public Instance methods

after_options(&block)

Sets the after_options block. This block is executed in the same context as the run block would be executed, directly after option parsing.

[show source]
   # File lib/rodish/plugins/after_options_hook.rb
20 def after_options(&block)
21   @command.after_options = block
22 end