method
complete
ruby latest stable - Class:
OptionParser
complete(typ, opt, icase = false, *pat)private
Completes shortened long style option switch and returns pair of canonical switch and switch descriptor OptionParser::Switch.
typ |
Searching table. |
opt |
Searching key. |
icase |
Search case insensitive if true. |
pat |
Optional pattern for completion. |