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