Hash with completion search feature. See OptionParser::Completion.
Instance Methods
3.2
View on GitHub
# File tmp/rubies/ruby-3.2.0/lib/optparse.rb, line 988
def match(key)
*values = fetch(key) {
raise AmbiguousArgument, catch(:ambiguous) {return complete(key)}
}
return key, *values
end
Completion for hash key.