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