Sha256: dec9182f3294b97c38048de15f36f568eaa437def9ab61e97fa799765967419e
Contents?: true
Size: 371 Bytes
Versions: 22
Compression:
Stored size: 371 Bytes
Contents
# Multiplexor. Accepts a number of exporters and replays # the calls to all of them in succession. class Tracksperanto::Export::Mux def initialize(*outputs) @outputs = outputs.flatten end %w( start_export start_tracker_segment end_tracker_segment export_point end_export).each do | m | define_method(m){|*a| @outputs.map{|o| o.send(m, *a)}} end end
Version data entries
22 entries across 22 versions & 1 rubygems