Skip to content

Commit 7ec6396

Browse files
committed
Rubocop - Style/ClassAndModuleChildren
1 parent 25cd420 commit 7ec6396

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/appium_lib/common/patch.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module Appium
44
module Common
55
# Implement useful features for element.
6-
class Selenium::WebDriver::Element
6+
class Selenium::WebDriver::Element # rubocop:disable Style/ClassAndModuleChildren
77
# Note: For testing .text should be used over value, and name.
88

99
# Returns the value attribute
@@ -121,7 +121,7 @@ def raw_execute(command, opts = {}, command_hash = nil)
121121
end
122122

123123
# Print Appium's origValue error messages.
124-
class Selenium::WebDriver::Remote::Response
124+
class Selenium::WebDriver::Remote::Response # rubocop:disable Style/ClassAndModuleChildren
125125
# @private
126126
def error_message
127127
val = value
@@ -140,7 +140,7 @@ def error_message
140140
end
141141
end
142142

143-
class Selenium::WebDriver::Remote::Http::Common
143+
class Selenium::WebDriver::Remote::Http::Common # rubocop:disable Style/ClassAndModuleChildren
144144
remove_const :DEFAULT_HEADERS if defined? DEFAULT_HEADERS
145145
DEFAULT_HEADERS = { 'Accept' => CONTENT_TYPE, 'User-Agent' => "appium/ruby_lib/#{::Appium::VERSION}" }
146146
end

0 commit comments

Comments
 (0)