Sha256: 86fbc9b36402c4621ff0b0606554b1a06e80c632deee3b8a02fd7f5714b42465

Contents?: true

Size: 389 Bytes

Versions: 1

Compression:

Stored size: 389 Bytes

Contents

Creates an option from the given parameters +params+.
See {Parameters for New Options}[./doc/optparse/option_params_rdoc.html].

The block, if given, is the handler for the created option.
When the option is encountered during command-line parsing,
the block is called with the argument given for the option, if any.
See {Option Handlers}[./option_params_rdoc.html#label-Option+Handlers].

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
optparse-0.2.0 doc/optparse/creates_option.rdoc