Class: EntityCache::Store::Internal::Scope::Global::ThreadSafeHash

Inherits:
Hash
  • Object
show all
Defined in:
lib/entity_cache/store/internal/scope/global.rb

Instance Method Summary collapse

Instance Method Details

#[](key) ⇒ Object



24
25
26
27
28
# File 'lib/entity_cache/store/internal/scope/global.rb', line 24

def [](key)
  value = super(key)
  value = Transform::Copy.(value) unless value.nil?
  value
end