Class: Appium::Core::Base::Capabilities
- Inherits:
-
Selenium::WebDriver::Remote::Capabilities
- Object
- Selenium::WebDriver::Remote::Capabilities
- Appium::Core::Base::Capabilities
- Defined in:
- lib/appium_lib_core/common/base/capabilities.rb
Instance Method Summary collapse
-
#convert_key(key) ⇒ Object
Method override FIXME: when we drop “symbolize_keys”, this can be removed.
Instance Method Details
#convert_key(key) ⇒ Object
Method override FIXME: when we drop “symbolize_keys”, this can be removed.
29 30 31 32 33 34 35 36 37 38 39 |
# File 'lib/appium_lib_core/common/base/capabilities.rb', line 29 def convert_key(key) case key when String key.to_s when Symbol # here do not convert to camel case key.to_s else raise TypeError, "expected String or Symbol, got #{key.inspect}:#{key.class}" end end |