Class

OptionParser::NoArgument

Inheritance
< self

Switch that takes no arguments.

Methods

Class

Visibility Signature
public incompatible_argument_styles (*)
public pattern ()

Instance

Visibility Signature
public parse (arg, argv) {|NeedlessArgument, arg| ...}

Class Method Detail

incompatible_argument_styles(*)

pattern()

Instance Method Detail

parse(arg, argv) {|NeedlessArgument, arg| ...}

Raises an exception if any arguments given.