mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Avoid shadowing variable
This commit is contained in:
parent
a728a037d4
commit
0177a678f9
1 changed files with 2 additions and 2 deletions
|
@ -111,9 +111,9 @@ module Spectator
|
|||
# Add the keyword arguments.
|
||||
offset = args.size
|
||||
offset += splat.size if (splat = @splat)
|
||||
kwargs.each_with_index(offset) do |name, value, i|
|
||||
kwargs.each_with_index(offset) do |key, value, i|
|
||||
io << ", " if i > 0
|
||||
io << name << ": "
|
||||
io << key << ": "
|
||||
value.inspect(io)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue