# OptionParser::Switch::RequiredArgument (Class)

In: | optparse.rb
Parent: | self

## Methods

parse

## Public Instance methods

parse(arg, argv, &error)

[Source]

    # File optparse.rb, line 446
          def parse(arg, argv, &error)
            unless arg
              raise MissingArgument if argv.empty?
              arg = argv.shift
            end
            conv_arg(*parse_arg(arg, &error))
          end

[Validate]