Skip to content

Commit d7cfca4

Browse files
abotalovjarib
authored andcommitted
Do not define SocketError as Ruby 1.8 is not longer supported
1 parent 4334d38 commit d7cfca4

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

rb/lib/selenium/webdriver/firefox.rb

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,3 @@ def self.path=(path)
2828
end
2929
end
3030
end
31-
32-
33-
# SocketError was added in Ruby 1.8.7.
34-
# If it's not defined, we add it here so it can be used in rescues.
35-
unless defined? SocketError
36-
class SocketError < IOError; end
37-
end

0 commit comments

Comments
 (0)