diff --git a/lib/logan/cache.rb b/lib/logan/cache.rb index e079c91..31dfd8d 100644 --- a/lib/logan/cache.rb +++ b/lib/logan/cache.rb @@ -47,7 +47,7 @@ class LogAn::Cache include Enumerable def each - return Enumerator.new self, :each unless e + return Enumerator.new self, :each unless block_given? (@source.keys + @data.keys).each do |key| yield key, self[key] end