Sha256: 85cbb6a753dbaf68795b344174b33a94274c55a8cffeca44837ba2e6d5151c02

Contents?: true

Size: 217 Bytes

Versions: 4

Compression:

Stored size: 217 Bytes

Contents

module Harness
  class SyncQueue
    def push(msg)
      method_name = msg.first
      args = msg.last

      collector.__send__ method_name, *args
    end

    def collector
      Harness.collector
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
harness-2.0.0 lib/harness/sync_queue.rb
harness-1.0.2 lib/harness/sync_queue.rb
harness-1.0.1 lib/harness/sync_queue.rb
harness-1.0.0 lib/harness/sync_queue.rb