Class: Harness::SyncQueue

Inherits:
Object
  • Object
show all
Defined in:
lib/harness/sync_queue.rb

Instance Method Summary collapse

Instance Method Details

#collectorObject



10
11
12
# File 'lib/harness/sync_queue.rb', line 10

def collector
  Harness.collector
end

#push(msg) ⇒ Object



3
4
5
6
7
8
# File 'lib/harness/sync_queue.rb', line 3

def push(msg)
  method_name = msg.first
  args = msg.last

  collector.__send__ method_name, *args
end