类 OptionParser::CompletingHash
具有补全搜索功能的Hash
。请参阅 OptionParser::Completion
。
公共实例方法
源码
# File lib/optparse.rb, line 1000 def match(key) *values = fetch(key) { raise AmbiguousArgument, catch(:ambiguous) {return complete(key)} } return key, *values end
用于哈希键的 Completion
。