Method: Bundler::Thor::Invocation#initialize
- Defined in:
- lib/bundler/vendor/thor/lib/thor/invocation.rb
#initialize(args = [], options = {}, config = {}, &block) ⇒ Object
Make initializer aware of invocations and the initialization args.
23 24 25 26 27 |
# File 'lib/bundler/vendor/thor/lib/thor/invocation.rb', line 23 def initialize(args = [], = {}, config = {}, &block) #:nodoc: @_invocations = config[:invocations] || Hash.new { |h, k| h[k] = [] } @_initializer = [args, , config] super end |