Sha256: 3b123d85a44cdac20b8d32a91ce0f41e549aca07b00f859b4135c2562a955754
Contents?: true
Size: 471 Bytes
Versions: 2
Compression:
Stored size: 471 Bytes
Contents
module MonomeSerial module SerialCommunicator #Dummy class with no actual serial connection (so tests can execute #in other Ruby environments) class DummyCommunicator < Communicator def initialize end def read #super [:keydown, 1, 1] end def write(strings) end def real? false end def model "256" end def serial "007" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
monome_serial-1.1.0 | lib/monome_serial/serial_communicator/dummy_communicator.rb |
monome_serial-1.0.0 | lib/monome_serial/serial_communicator/dummy_communicator.rb |