mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-04-27 15:07:41 +00:00
use each_value instead of each
This commit is contained in:
parent
10e87336bd
commit
b577dae1c0
1 changed files with 1 additions and 1 deletions
|
|
@ -82,7 +82,7 @@ module Rack::Attack
|
||||||
end
|
end
|
||||||
|
|
||||||
def tracked?(req)
|
def tracked?(req)
|
||||||
tracks.each do |name, tracker|
|
tracks.each_value do |tracker|
|
||||||
tracker[req]
|
tracker[req]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue