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 669
669:     def match(key)
670:       return key, *fetch(key) {
671:         raise AmbiguousArgument, catch(:ambiguous) {return complete(key)}
672:       }
673:     end

[Validate]