lib/lxi/device.rb in lxi_rb-0.2.6 vs lib/lxi/device.rb in lxi_rb-0.2.12
- old
+ new
@@ -1,8 +1,10 @@
# frozen_string_literal: true
module Lxi
class Device
include FFI
+ include LxiMethods
+
attr_accessor :id, :address, :port, :name, :timeout, :protocol
def initialize(address, protocol)
@address = address
@port = 0