Method: Traject::TranslationMap::Cache#lookup
- Defined in:
- lib/traject/translation_map.rb
#lookup(path) ⇒ Object
Returns an actual Hash -- or nil if none found.
113 114 115 116 117 118 |
# File 'lib/traject/translation_map.rb', line 113 def lookup(path) unless @cached.has_key?(path) @cached[path] = _lookup!(path) end return @cached[path] end |