diff options
-rw-r--r-- | lib/rbot/registry/daybreak.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/rbot/registry/daybreak.rb b/lib/rbot/registry/daybreak.rb index 7ec5bd29..5d995379 100644 --- a/lib/rbot/registry/daybreak.rb +++ b/lib/rbot/registry/daybreak.rb @@ -156,7 +156,7 @@ class Registry # like Hash#each def each(&block) - registry.each_key do |key| + registry.each do |key| block.call(key, self[key]) end end @@ -165,14 +165,14 @@ class Registry # like Hash#each_key def each_key(&block) - registry.each_key do |key| + registry.each do |key| block.call(key) end end # like Hash#each_value def each_value(&block) - registry.each_key do |key| + registry.each do |key| block.call(self[key]) end end |