Class: AutomationObject::Driver::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/automation_object/driver/base.rb

Overview

Base class for driver and element adapter interface

Direct Known Subclasses

Driver, Element

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#adapterObject

Returns the value of attribute adapter



7
8
9
# File 'lib/automation_object/driver/base.rb', line 7

def adapter
  @adapter
end