Skip to content
On this page

End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →

class · Ruby 3.0

OptionParser::List

< Object 10 instance methods 1 class methods

Simple option list providing mapping from short and/or long option string to OptionParser::Switch and mapping from acceptable argument to matching pattern and converter pair. Also provides summary feature.

Class methods 1

Instance methods 10

Attributes
Read

Map from acceptable argument types to pattern and converter pairs.

Read

List of all switches and summary string.

Read

Map from long style option switches to actual switch objects.

Read

Map from short style option switches to actual switch objects.