Sha256: c40a8f603329d30b6c1ed15c20af64b0a0e8510cab6ff63340c1c479b377b437

Contents?: true

Size: 212 Bytes

Versions: 4

Compression:

Stored size: 212 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

4 entries across 4 versions & 1 rubygems

Version Path
multi_process-0.4.0 lib/multi_process/nil_receiver.rb
multi_process-0.3.0 lib/multi_process/nil_receiver.rb
multi_process-0.2.0 lib/multi_process/nil_receiver.rb
multi_process-0.1.0 lib/multi_process/nil_receiver.rb