Class: MultiProcess::NilReceiver

Inherits:
Receiver
  • Object
show all
Defined in:
lib/multi_process/nil_receiver.rb

Overview

Receiver implementation that does nothing on every input.

Instance Method Summary collapse

Methods inherited from Receiver

#message, #pipe

Instance Method Details

#received(_process, _name, _message) ⇒ Object

Do nothing.



9
10
11
# File 'lib/multi_process/nil_receiver.rb', line 9

def received(_process, _name, _message)
  nil
end