Skip to content

Commit 5666a83

Browse files
committed
Fix Rubocop issues and steep ignore
1 parent 6c35c65 commit 5666a83

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

rb/lib/selenium/webdriver/common/error.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ def initialize(msg = '')
5050
super(URLS[class_name] ? "#{msg}; #{SUPPORT_MSG} #{URLS[class_name]}" : msg)
5151
end
5252

53+
# steep:ignore:start
5354
def class_name
54-
self.class.name&.split('::')&.last&.to_sym
55+
self.class.name.split('::')&.last&.to_sym
5556
end
57+
# steep:ignore:end
5658
end
5759

5860
#

rb/lib/selenium/webdriver/remote/http/common.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def quit_errors
4747
def close
4848
# hook for subclasses - will be called on Driver#quit
4949
end
50+
5051
# steep:ignore:start
5152
def call(verb, url, command_hash)
5253
url = server_url.merge(url) unless url.is_a?(URI)
@@ -67,6 +68,7 @@ def call(verb, url, command_hash)
6768
request verb, url, headers, payload
6869
end
6970
# steep:ignore:end
71+
7072
private
7173

7274
def common_headers

0 commit comments

Comments
 (0)