# Table of Contents - optparse: Ruby Standard Library Documentation

## Classes and Modules

- Object
- OptionParser
  - OptionParser
  - New to `OptionParser`?
  - Introduction
  - Features
  - Minimal example
  - Generating Help
  - Required Arguments
  - Type Coercion
  - Using Built-in Conversions
  - Creating Custom Conversions
  - Store options to a Hash
  - Complete example
  - Shell Completion
  - Further documentation
- OptionParser::AC
- OptionParser::Acceptables
- OptionParser::AmbiguousArgument
- OptionParser::AmbiguousOption
- OptionParser::Arguable
- OptionParser::CompletingHash
- OptionParser::Completion
- OptionParser::InvalidArgument
- OptionParser::InvalidOption
- OptionParser::List
- OptionParser::MissingArgument
- OptionParser::NeedlessArgument
- OptionParser::OptionMap
- OptionParser::ParseError
- OptionParser::Switch
- OptionParser::Switch::NoArgument
- OptionParser::Switch::OptionalArgument
- OptionParser::Switch::PlacedArgument
- OptionParser::Switch::RequiredArgument

## Methods

- ::accept — OptionParser
- ::extend_object — OptionParser::Arguable
- ::getopts — OptionParser
- ::inc — OptionParser
- ::new — OptionParser
- ::reject — OptionParser
- ::show_version — OptionParser
- ::terminate — OptionParser
- ::top — OptionParser
- ::with — OptionParser
- #abort — OptionParser
- #ac_arg_disable — OptionParser::AC
- #ac_arg_enable — OptionParser::AC
- #ac_arg_with — OptionParser::AC
- #accept — OptionParser
- #additional_message — OptionParser
- #banner — OptionParser
- #base — OptionParser
- #candidate — OptionParser
- #def_head_option — OptionParser
- #def_option — OptionParser
- #def_tail_option — OptionParser
- #define — OptionParser
- #define_by_keywords — OptionParser
- #define_head — OptionParser
- #define_tail — OptionParser
- #environment — OptionParser
- #getopts — OptionParser
- #getopts — OptionParser::Arguable
- #help — OptionParser
- #inc — OptionParser
- #load — OptionParser
- #make_switch — OptionParser
- #match — OptionParser::CompletingHash
- #new — OptionParser
- #on — OptionParser
- #on_head — OptionParser
- #on_tail — OptionParser
- #options — OptionParser::Arguable
- #options= — OptionParser::Arguable
- #order — OptionParser
- #order! — OptionParser
- #order! — OptionParser::Arguable
- #parse — OptionParser
- #parse — OptionParser::Switch::NoArgument
- #parse — OptionParser::Switch::RequiredArgument
- #parse — OptionParser::Switch::OptionalArgument
- #parse — OptionParser::Switch::PlacedArgument
- #parse! — OptionParser
- #parse! — OptionParser::Arguable
- #permute — OptionParser
- #permute! — OptionParser
- #permute! — OptionParser::Arguable
- #program_name — OptionParser
- #reject — OptionParser
- #release — OptionParser
- #remove — OptionParser
- #separator — OptionParser
- #summarize — OptionParser
- #terminate — OptionParser
- #to_a — OptionParser
- #to_s — OptionParser
- #top — OptionParser
- #ver — OptionParser
- #version — OptionParser
- #warn — OptionParser