@@ -46,23 +46,23 @@ class Spec < Test
46
46
end
47
47
48
48
module Appium
49
- # Load appium.txt (toml format)
50
- # the basedir of this file + appium.txt is what's used
51
- #
52
- # ```
53
- # [caps]
54
- # app = "path/to/app"
55
- #
56
- # [appium_lib]
57
- # port = 8080
58
- # ```
59
- #
60
- # :app is expanded
61
- # :requires are expanded
62
- # all keys are converted to symbols
63
- #
64
- # @param opts [Hash] file: '/path/to/appium.txt', verbose: true
65
- # @return [hash] the symbolized hash with updated :app and :require keys
49
+ # Load appium.txt (toml format)
50
+ # the basedir of this file + appium.txt is what's used
51
+ #
52
+ # ```
53
+ # [caps]
54
+ # app = "path/to/app"
55
+ #
56
+ # [appium_lib]
57
+ # port = 8080
58
+ # ```
59
+ #
60
+ # :app is expanded
61
+ # :requires are expanded
62
+ # all keys are converted to symbols
63
+ #
64
+ # @param opts [Hash] file: '/path/to/appium.txt', verbose: true
65
+ # @return [hash] the symbolized hash with updated :app and :require keys
66
66
def self . load_appium_txt opts = { }
67
67
raise 'opts must be a hash' unless opts . kind_of? Hash
68
68
raise 'opts must not be empty' if opts . empty?
@@ -169,7 +169,6 @@ def self.promote_singleton_appium_methods main_module
169
169
# ```ruby
170
170
# Appium.promote_appium_methods Object
171
171
# ```
172
-
173
172
def self . promote_appium_methods class_array
174
173
raise 'Driver is nil' if $driver. nil?
175
174
# Wrap single class into an array
@@ -204,6 +203,7 @@ class Driver
204
203
205
204
# The amount to sleep in seconds before every webdriver http call.
206
205
attr_accessor :global_webdriver_http_sleep
206
+
207
207
# Creates a new driver.
208
208
# :device is :android, :ios, or :selendroid
209
209
#
@@ -563,8 +563,8 @@ def x
563
563
driver_quit
564
564
exit # exit pry
565
565
end
566
- end # end class Driver
567
- end # end module Appium
566
+ end # class Driver
567
+ end # module Appium
568
568
569
569
# Paging in Pry is annoying :q required to exit.
570
570
# With pager disabled, the output is similar to IRB
0 commit comments