We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e6dd0b4 commit 510b91eCopy full SHA for 510b91e
rb/.rubocop.yml
@@ -96,6 +96,7 @@ Naming/MethodParameterName:
96
Naming/PredicateMethod:
97
Exclude:
98
- 'lib/selenium/webdriver/common/file_reaper.rb'
99
+ - 'lib/selenium/webdriver/common/socket_poller.rb'
100
101
RSpec/AnyInstance:
102
Enabled: false
rb/lib/selenium/webdriver/common/socket_poller.rb
@@ -106,7 +106,7 @@ def conn_completed?(sock)
106
sock.getsockopt(Socket::SOL_SOCKET, Socket::SO_ERROR).int.zero?
107
end
108
109
- def with_timeout?
+ def with_timeout
110
max_time = current_time + @timeout
111
112
until current_time > max_time
0 commit comments