Class: AutomationObject::Driver::Base
- Inherits:
-
Object
- Object
- AutomationObject::Driver::Base
- Defined in:
- lib/automation_object/driver/base.rb
Overview
Base class for driver and element adapter interface
Instance Attribute Summary collapse
-
#adapter ⇒ Object
Returns the value of attribute adapter.
Instance Method Summary collapse
-
#initialize(adapter_object, *_args) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(adapter_object, *_args) ⇒ Base
Returns a new instance of Base
9 10 11 |
# File 'lib/automation_object/driver/base.rb', line 9 def initialize(adapter_object, *_args) self.adapter = adapter_object end |
Instance Attribute Details
#adapter ⇒ Object
Returns the value of attribute adapter
7 8 9 |
# File 'lib/automation_object/driver/base.rb', line 7 def adapter @adapter end |