If bytes matches our @bytes array then run @code_chunk.
bytes
21 22 23 24 25 26 27
# File 'lib/patchmaster/trigger.rb', line 21 def signal(bytes) if bytes == @bytes pm = PM::PatchMaster.instance @code_chunk.run(pm) pm.gui.refresh if pm.gui end end