Class: AppPrism::Platforms::Platform
- Inherits:
-
Object
- Object
- AppPrism::Platforms::Platform
- Defined in:
- lib/app_prism/platforms/platform.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#driver ⇒ Object
readonly
Returns the value of attribute driver.
Instance Method Summary collapse
-
#initialize(driver = nil) ⇒ Platform
constructor
A new instance of Platform.
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
#driver ⇒ Object (readonly)
Returns the value of attribute driver.
8 9 10 |
# File 'lib/app_prism/platforms/platform.rb', line 8 def driver @driver end |