test/fake_serial_port.rb in hybridgroup-firmata-0.4.5 vs test/fake_serial_port.rb in hybridgroup-firmata-0.4.6
- old
+ new
@@ -37,10 +37,9 @@
end
@buffer << val
val.length
end
- alias_method :write_nonblock, :write
def bytes
bytes = StringIO.new(@buffer).bytes
@buffer = ""
bytes