This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.
parse(arg, argv)
Raises an exception if argument is not present.
# File lib/optparse.rb, line 449 def parse(arg, argv) unless arg raise MissingArgument if argv.empty? arg = argv.shift end conv_arg(*parse_arg(arg) {|*exc| raise(*exc)}) end