dataflow in Ruby