lib/appium_lib/driver.rb in appium_lib-8.2.0 vs lib/appium_lib/driver.rb in appium_lib-8.2.1

- old
+ new

@@ -48,11 +48,11 @@ class Spec < Test end end module Appium - # Load appium.txt (toml format) + # Load arbitrary text (toml format) # # ``` # [caps] # app = "path/to/app" # @@ -100,12 +100,12 @@ class << self alias_method :load_appium_txt, :load_settings end - # @param base_dir [String] parent directory of loaded appium.txt (toml) - # @param file_paths - # @return list of require files as an array, nil if require doesn't exist + # @param [String] base_dir parent directory of loaded appium.txt (toml) + # @param [String] file_paths + # @return [Array] list of require files as an array, nil if require doesn't exist def self.expand_required_files(base_dir, file_paths) # ensure files are absolute Array(file_paths).map! do |f| file = File.exist?(f) ? f : File.join(base_dir, f) file = File.expand_path file