Extends command line arguments array (ARGV) to parse itself.
| Public Methods | |
|---|---|
| extend_ |
Initializes instance variable. |
| getopts | Substitution of getopts is possible as follows. Also see OptionParser#getopts. |
| new | |
| options | Actual OptionParser object, automatically created if nonexistent. |
| options= | Sets OptionParser object, when opt is false or nil, methods OptionParser::Arguable#options and OptionParser::Arguable#options= are undefined. Thus, there is no ways to access the OptionParser object via the receiver object. |
| order! | Parses self destructively in order and returns self containing the rest arguments left unparsed. |
| parse! | Parses self destructively and returns self containing the rest arguments left unparsed. |
| permute! | Parses self destructively in permutation mode and returns self containing the rest arguments left unparsed. |
<code/>and<pre/>for code samples.