Class: Punchblock::Translator::DTMFRecognizer::BuiltinMatcherCache

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

Instance Method Summary collapse

Instance Method Details

#get(uri) ⇒ Object


10
11
12
# File 'lib/punchblock/translator/dtmf_recognizer.rb', line 10

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