Method: Rundoc::CLIArgumentParser#initialize
- Defined in:
- lib/rundoc/cli_argument_parser.rb
#initialize(argv:, io: $stderr, env: ENV, exit_obj: Kernel) ⇒ CLIArgumentParser
Returns a new instance of CLIArgumentParser.
18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/rundoc/cli_argument_parser.rb', line 18 def initialize( argv:, io: $stderr, env: ENV, exit_obj: Kernel ) @io = io @env = env @argv = argv = {} @exit_obj = exit_obj end |