Class OptionParser::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 633
633:     def match(key)
634:       return key, *fetch(key) {
635:         raise AmbiguousArgument, catch(:ambiguous) {return complete(key)}
636:       }
637:     end

[Validate]