Method: Thor::Execution#initialize
- Defined in:
- lib/thor/execution.rb
#initialize(thor_class:, given_args:, thor_config:) ⇒ Execution
Instantiate a new Thor::Execution.
91 92 93 94 95 96 |
# File 'lib/thor/execution.rb', line 91 def initialize thor_class:, given_args:, thor_config: @thor_class = thor_class @given_args = given_args.dup @thor_config = thor_config @thor_instance = nil end |