Class: Tracksperanto::Export::Mux

Inherits:
Object
  • Object
show all
Defined in:
lib/export/mux.rb

Overview

Multiplexor. Accepts a number of exporters and replays the calls to all of them in succession.

Instance Method Summary collapse

Constructor Details

#initialize(*outputs) ⇒ Mux

Returns a new instance of Mux.



5
6
7
# File 'lib/export/mux.rb', line 5

def initialize(*outputs)
  @outputs = outputs.flatten
end