This is the API documentation for optparse: Ruby Standard Library Documentation.
Support for the Ruby 2.4 series has ended. See here for reference.
New to Ruby? You may find these links helpful: syntax, control expressions, assignment, methods, modules + classes, and operator precedence.
This is the API documentation for optparse: Ruby Standard Library Documentation.
::candidate (OptionParser::Completion)
::extend_object (OptionParser::Arguable)
::filter_backtrace (OptionParser::ParseError)
::guess (OptionParser::Switch)
::incompatible_argument_styles (OptionParser::Switch)
::incompatible_argument_styles (OptionParser::Switch::NoArgument)
::new (OptionParser::Arguable)
::new (OptionParser::ParseError)
::pattern (OptionParser::Switch)
::pattern (OptionParser::Switch::NoArgument)
::regexp (OptionParser::Completion)
#ac_arg_disable (OptionParser::AC)
#ac_arg_enable (OptionParser::AC)
#ac_arg_with (OptionParser::AC)
#candidate (OptionParser::Completion)
#complete (OptionParser::Completion)
#complete (OptionParser::List)
#convert (OptionParser::Completion)
#def_head_option (OptionParser)
#def_tail_option (OptionParser)
#define_by_keywords (OptionParser)
#each_option (OptionParser::List)
#getopts (OptionParser::Arguable)
#inspect (OptionParser::ParseError)
#match (OptionParser::CompletingHash)
#message (OptionParser::ParseError)
#options (OptionParser::Arguable)
#options= (OptionParser::Arguable)
#order! (OptionParser::Arguable)
#parse (OptionParser::Switch::NoArgument)
#parse (OptionParser::Switch::OptionalArgument)
#parse (OptionParser::Switch::PlacedArgument)
#parse (OptionParser::Switch::RequiredArgument)
#parse! (OptionParser::Arguable)
#permute! (OptionParser::Arguable)
#reason (OptionParser::ParseError)
#recover (OptionParser::ParseError)
#set_backtrace (OptionParser::ParseError)
#set_option (OptionParser::ParseError)
#summarize (OptionParser::List)
#summarize (OptionParser::Switch)
#switch_name (OptionParser::Switch)