Sha256: 65f9c682cff0bb132513340cbf74ff9e65c776a9ccd17c7afbdf339755c8dfe6

Contents?: true

Size: 135 Bytes

Versions: 4

Compression:

Stored size: 135 Bytes

Contents

class MockListener
  def received_events
    @received_events ||= []
  end

  def receive(event)
    received_events << event
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alondra-0.1.1 test/support/mocks/mock_listener.rb
alondra-0.1.0 test/support/mocks/mock_listener.rb
alondra-0.0.4 test/support/mocks/mock_listener.rb
alondra-0.0.3 test/support/mocks/mock_listener.rb