method

complete

complete(typ, opt, icase = false, *pat)
private

Completes shortened long style option switch and returns pair of canonical switch and switch descriptor OptionParser::Switch.

id

Searching table.

opt

Searching key.

icase

Search case insensitive if true.

pat

Optional pattern for completion.