Skip to content

Commit baeab7c

Browse files
committed
Replace call to values&.each with each_value
1 parent 76f8872 commit baeab7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rb/lib/selenium/webdriver/common/driver.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ def quit
188188
bridge.quit
189189
ensure
190190
@service_manager&.stop
191-
@devtools&.values&.each(&:close)
191+
@devtools&.each_value(&:close)
192192
end
193193

194194
#

0 commit comments

Comments
 (0)