Switch that takes no arguments.

Methods
I
P
Class Public methods
incompatible_argument_styles(*)
# File lib/optparse.rb, line 433
def self.incompatible_argument_styles(*)
end
pattern()
# File lib/optparse.rb, line 436
def self.pattern
  Object
end
Instance Public methods
parse(arg, argv)

Raises an exception if any arguments given.

# File lib/optparse.rb, line 428
def parse(arg, argv)
  yield(NeedlessArgument, arg) if arg
  conv_arg(arg)
end