Class: AppPrism::Platforms::Platform

Inherits:
Object
  • Object
show all
Defined in:
lib/app_prism/platforms/platform.rb

Direct Known Subclasses

AppiumPlatform

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(driver = nil) ⇒ Platform

Returns a new instance of Platform.



4
5
6
# File 'lib/app_prism/platforms/platform.rb', line 4

def initialize(driver = nil)
  @driver = driver if driver
end

Instance Attribute Details

#driverObject (readonly)

Returns the value of attribute driver.



8
9
10
# File 'lib/app_prism/platforms/platform.rb', line 8

def driver
  @driver
end