Cache#each added.

master
Denis Knauf 2010-03-30 01:23:37 +02:00
parent 8b77d3811b
commit 694d2a22fa
1 changed files with 1 additions and 1 deletions

View File

@ -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