Class CompletingHash
In: lib/optparse.rb
Parent: Hash

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

Methods

match  

Included Modules

Completion

Public Instance methods

Completion for hash key.

[Source]

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

[Validate]