74 75 76 77 78 79 80
# File 'lib/datapipes.rb', line 74 def self.extract(args) source = args[:source] || Source.new sink = args[:sink] || Sink.new tube = args[:tube] || Tube.new pipe = args[:pipe] || Pipe.new [source, sink, tube, pipe] end