Module: Getopt

Defined in:
lib/getopt/std.rb,
lib/getopt/long.rb,
lib/getopt/version.rb

Overview

The Getopt module serves as a namespace only

Defined Under Namespace

Modules: Version Classes: Long, Std

Constant Summary collapse

REQUIRED =

Argument is required if switch is provided.

0
BOOLEAN =

Value of argument is true if provided, false otherwise.

1
OPTIONAL =

Argument is optional if switch is provided.

2
INCREMENT =

Argument is incremented by 1 each time the switch appears.

3