Sha256: 901d853d3847bf7c21f12ba7ffba25f38bc46449550e4f4903f4d38d76d679d2

Contents?: true

Size: 213 Bytes

Versions: 6

Compression:

Stored size: 213 Bytes

Contents

module MultiProcess
  # Receiver implementation that does nothing on every input.
  #
  class NilReceiver < Receiver
    # Do nothing.
    #
    def received(_process, _name, _message)
      nil
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
multi_process-1.1.1 lib/multi_process/nil_receiver.rb
multi_process-1.1.0 lib/multi_process/nil_receiver.rb
multi_process-1.0.0 lib/multi_process/nil_receiver.rb
multi_process-0.5.2 lib/multi_process/nil_receiver.rb
multi_process-0.5.1 lib/multi_process/nil_receiver.rb
multi_process-0.5.0 lib/multi_process/nil_receiver.rb