lib/convenient_service/support/cache/entities/caches/base.rb in convenient_service-0.17.0 vs lib/convenient_service/support/cache/entities/caches/base.rb in convenient_service-0.18.0

- old
+ new

@@ -87,9 +87,12 @@ ## # @param key [Object] Can be any type. # @return [ConvenientService::Support::Cache::Entities::Caches::Base] # + # @internal + # TODO: What to do if `scope` was called accidentally? Currently, its `key` will NOT be garbage-collected. + # def scope(key) fetch(key) { self.class.new } end ##