In Files

  • optparse.rb

Parent

Methods

Included Modules

OptionParser::CompletingHash

Hash with completion search feature. See OptionParser::Completion.

Public Instance Methods

match(key) click to toggle source

Completion for hash key.

 
               # File optparse.rb, line 669
def match(key)
  return key, *fetch(key) {
    raise AmbiguousArgument, catch(:ambiguous) {return complete(key)}
  }
end