diff options
author | Matthias H <apoc@sixserv.org> | 2014-02-20 21:58:42 +0100 |
---|---|---|
committer | Matthias H <apoc@sixserv.org> | 2014-02-20 21:58:42 +0100 |
commit | 8b7f65d0251120b7ca7dda5adef483158a1bcd54 (patch) | |
tree | 5252697f246b67d333b6322829dc6937325904a5 /lib/rbot | |
parent | c41980349e6681055d99c41a98c9b478d78c39e8 (diff) |
[registry] daybreak engine small fix
Diffstat (limited to 'lib/rbot')
-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 |