Class: Modbus::Transaction::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/modbus/transaction/base.rb

Direct Known Subclasses

Client, Server

Instance Method Summary collapse

Constructor Details

#initialize(conn) ⇒ Base

Initializes a new Transaction instance.

Parameters:



15
16
17
# File 'lib/modbus/transaction/base.rb', line 15

def initialize(conn)
  @conn = conn
end