OptionParser::Switch::PlacedArgument

class OptionParser::Switch::PlacedArgument

Parent:
self

Switch that takes an argument, which does not begin with '-'.

Public Instance Methods

parse(arg, argv, &error) Show source

Returns nil if argument is not present or begins with '-'.

# File lib/optparse.rb, line 704