Class: Adhearsion::Translator::Asterisk::Component::DTMFRecognizer::BuiltinMatcherCache

Inherits:
Object
  • Object
show all
Includes:
MonitorMixin, Singleton
Defined in:
lib/adhearsion/translator/asterisk/component/dtmf_recognizer.rb

Instance Method Summary collapse

Instance Method Details

#get(uri) ⇒ Object


16
17
18
# File 'lib/adhearsion/translator/asterisk/component/dtmf_recognizer.rb', line 16

def get(uri)
  cache[uri] ||= fetch(uri)
end