Module: ConvenientService::Common::Plugins::HasInternals::Entities::Internals::Plugins::HasCache::Concern
- Includes:
- Support::Concern
- Defined in:
- lib/convenient_service/common/plugins/has_internals/entities/internals/plugins/has_cache/concern.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.cache ⇒ ConvenientService::Support::Cache
27 28 29 |
# File 'lib/convenient_service/common/plugins/has_internals/entities/internals/plugins/has_cache/concern.rb', line 27 def cache @cache ||= Support::Cache.backed_by(:thread_safe_hash).new end |
Instance Method Details
#cache ⇒ ConvenientService::Support::Cache
36 37 38 |
# File 'lib/convenient_service/common/plugins/has_internals/entities/internals/plugins/has_cache/concern.rb', line 36 def cache @cache ||= Support::Cache.backed_by(:hash).new end |