On this page
Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class · Ruby 3.3
OptionParser::List
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 9
Attributes
Read
Map from acceptable argument types to pattern and converter pairs.
Read
Map from long style option switches to actual switch objects.
Read
Map from short style option switches to actual switch objects.