Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Bug in the rising of exception from proxy object #15
This code is not valid.
require "rmodbus" s = ModBus::TCPServer.new(9999, 1) s.holding_registers =  * 10 s.start ModBus::TCPClient.connect('127.0.0.1',9999) do |cl| cl.with_slave(1) do |slave| slave.holding_registers[0..2] = [0,0] end end s.stop
But it has raised unexpected exception instead of