Method: Puppet::Application#initialize
- Defined in:
- lib/puppet/application.rb
#initialize(command_line = Puppet::Util::CommandLine.new) ⇒ Application
Initialize the application receiving the Util::CommandLine object containing the application name and arguments.
345 346 347 348 |
# File 'lib/puppet/application.rb', line 345 def initialize(command_line = Puppet::Util::CommandLine.new) @command_line = CommandLineArgs.new(command_line.subcommand_name, command_line.args.dup) = {} end |