lib/rake/toolkit_program/command_option_parser.rb
# Method override, see OptionParser#parse! -- though we don't do POSIXLY_COMPLIANT
Method override, see OptionParser#parse. -- though we don't do POSIXLY_COMPLIANT
Method override see OptionParser#parse . -- though we don ' t do POSIXLY_COMPLIANT
def parse!(argv = default_argv, into: nil)
        positionals = []
        do_positional_capture(positionals) if @precapture_positionals_array
        order!(argv, into: into, &positionals.method(:<<)).tap do
          argv[0, 0] = positionals
          do_positional_capture(argv) if !@precapture_positionals_array
          unless positional_cardinality_ok?(positionals.length)
            raise WrongArgumentCount.new(
              @positional_cardinality_test,
              positionals.length
            )
          end
        end
        return argv
      end
def parse! ( argv = default_argv , into : nil ) positionals = [ ] do_positional_capture ( positionals ) if @precapture_positionals_array order! ( argv , into : into , & positionals . method ( :<< ) ) . tap do argv [ 0 , 0 ] = positionals do_positional_capture ( argv ) if ! @precapture_positionals_array unless positional_cardinality_ok? ( positionals . length ) raise WrongArgumentCount . new ( @positional_cardinality_test , positionals . length ) end end return argv end
Method override, see OptionParser#parse!
Method override see OptionParser#parse!
argv
<not_specific>
default_argv
<not_specific>
into
<not_specific>