Module: MobyController::Abstraction
- Defined in:
- lib/tdriver/base/controller/abstraction.rb
Instance Method Summary collapse
-
#execute ⇒ Object
Execute the command(s).
-
#set_adapter(adapter) ⇒ Object
TODO: document me.
Instance Method Details
#execute ⇒ Object
Execute the command(s). Sends output generated by make_message to the device using the @sut_adapter (see base class)
params
returns
raises
35 36 37 38 39 40 41 42 43 |
# File 'lib/tdriver/base/controller/abstraction.rb', line 35 def execute @sut_adapter.send_service_request( * ) end |
#set_adapter(adapter) ⇒ Object
TODO: document me
25 26 27 28 29 |
# File 'lib/tdriver/base/controller/abstraction.rb', line 25 def set_adapter( adapter ) @sut_adapter = adapter end |