Skip to content

Commit 17f9b1b

Browse files
authored
Refactor a method for iterate raw clients (#57)
1 parent 00a6a00 commit 17f9b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/redis_client/cluster/node.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def inspect
102102
end
103103

104104
def each(&block)
105-
@clients.values.each(&block)
105+
@clients.each_value(&block)
106106
end
107107

108108
def sample

0 commit comments

Comments
 (0)