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