module Rodish::Plugins::AfterOptionsHook::CommandMethods

  1. lib/rodish/plugins/after_options_hook.rb

Methods

Public Instance

  1. after_options
  2. process_command_options

Attributes

after_options [RW]

A hook to execute after parsing options for the command.

Public Instance methods

process_command_options(context, options, argv)

Run after_options hook if present after parsing options.

[show source]
   # File lib/rodish/plugins/after_options_hook.rb
30 def process_command_options(context, options, argv)
31   super
32   context.instance_exec(argv, options, &after_options) if after_options
33 end