example/basic_config.rb in rflow-0.0.5 vs example/basic_config.rb in rflow-1.0.0a1
- old
+ new
@@ -14,11 +14,11 @@
# config.component 'generate_ints2', 'RFlow::Components::GenerateIntegerSequence', 'start' => 20, 'finish' => 30
# config.component 'filter', 'RFlow::Components::RubyProcFilter', 'filter_proc_string' => 'lambda {|message| true}'
# config.component 'replicate', 'RFlow::Components::Replicate'
# config.component 'output1', 'RFlow::Components::FileOutput', 'output_file_path' => '/tmp/crap1'
# config.component 'output2', 'RFlow::Components::FileOutput', 'output_file_path' => '/tmp/crap2'
-
+
# Hook components together
# config.connect 'generate_ints#out' => 'filter#in'
# config.connect 'filter#filtered' => 'replicate#in'
# config.connect 'replicate#out[0]' => 'simple#in'
# config.connect 'replicate#out[one]' => 'complex#in'
@@ -40,10 +40,10 @@
config.component 'output_odd', 'RFlow::Components::FileOutput', 'output_file_path' => '/tmp/crap_odd'
config.connect 'generate_ints#even_odd_out' => 'output#in'
config.connect 'generate_ints#even_odd_out[even]' => 'output_even#in'
config.connect 'generate_ints#even_odd_out[odd]' => 'output_odd#in'
-
+
end