module Thor::Invocation
def initialize(args=[], options={}, config={}, &block) #:nodoc:
Make initializer aware of invocations and the initializer proc.
def initialize(args=[], options={}, config={}, &block) #:nodoc: @_invocations = config[:invocations] || Hash.new { |h,k| h[k] = [] } @_initializer = [ args, options, config ] super end