| Class | OptionParser::CompletingHash |
| In: |
lib/optparse.rb
|
| Parent: | Hash |
Hash with completion search feature. See OptionParser::Completion.
Completion for hash key.
# 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