Sha256: 5e037e39d883ac3d5498fb5338e94147ccbeca45c5f4b34bce473f6cb21b5852
Contents?: true
Size: 835 Bytes
Versions: 3
Compression:
Stored size: 835 Bytes
Contents
# Enforce UTF-8 Encoding Encoding.default_external = Encoding::UTF_8 Encoding.default_internal = Encoding::UTF_8 require 'Forwardable' unless defined? Forwardable require_relative 'appium_lib/rails/duplicable' $driver = nil # @private # Invoke top level methods on last created Appium driver. def self.method_missing method, *args, &block raise "driver is nil. called #{method}" if $driver == nil if $driver.respond_to?(method) # puts "[method_missing] Calling driver.send for #{method}" $driver.send(method, *args, &block) elsif self.respond_to?(method) # puts "[method_missing] Calling super with args for #{method}" super(*args, &block) else # puts "[method_missing] Calling super (no args) for #{method}" super end end require_relative 'appium_lib/logger' require_relative 'appium_lib/driver'
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
appium_lib-3.0.3 | lib/appium_lib.rb |
appium_lib-3.0.2 | lib/appium_lib.rb |
appium_lib-3.0.1 | lib/appium_lib.rb |