method
options
v1_8_6_287 -
Show latest stable
- Class:
Arguable
options()public
Actual <a href="/ruby/OptionParser">OptionParser</a> object, automatically created if nonexistent.
If called with a block, yields the OptionParser object and returns the result of the block. If an OptionParser::ParseError exception occurs in the block, it is rescued, a error message printed to STDERR and nil returned.