There's no documentation for this item.
| Public Methods |
| included |
|
| options |
Each instance has an options hash that’s populated by #parse.
|
| Protected Methods |
| add_general_options! |
Adds general options like -h and —quiet. Usually don’t
override.
|
| add_options! |
Override to add your options to the parser:
|
| banner |
Override with your own usage banner.
|
| default_options |
Convenient access to class default options.
|
| full_options |
Merge together our instance options. In increasing precedence:
|
| mandatory_options |
Convenient access to class mandatory options.
|
| parse! |
Parse arguments into the options hash. Classes may customize parsing
behavior by overriding these methods:
|
| usage |
Raise a usage error. Override usage_message to provide a blurb after the
option parser summary.
|
| usage_message |
|
<code/>and<pre/>for code samples.