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

[Validate]