Sha256: 5a3eb435f8f9d3a5c3716d85c5d820ce231a0e7bfb2c7c71d7c65be2ef94391c

Contents?: true

Size: 292 Bytes

Versions: 1

Compression:

Stored size: 292 Bytes

Contents

module Support
  module Mocks
    class Pusher
      attr_accessor :messages

      def initialize
        @messages = []
      end

      def trigger(*args)
        messages << args
      end

      def reset!
        @messages = []
      end
      alias :clear! :reset!
    end
  end
end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
travis-core-0.0.1 spec/support/mocks/pusher.rb