Method: Plc::Emulator::EmuDevice#sync_input
- Defined in:
- lib/plc/emulator/emu_device.rb
#sync_input ⇒ Object
103 104 105 106 107 108 109 110 |
# File 'lib/plc/emulator/emu_device.rb', line 103 def sync_input @lock.synchronize { unless @in_value.nil? @value = @in_value @in_value = nil end } end |