Sha256: b3435a8386bab3aa58d19222e738eaf0740134cbaedb0110ed43610b728f89aa

Contents?: true

Size: 415 Bytes

Versions: 1

Compression:

Stored size: 415 Bytes

Contents

require File.expand_path('../examples_helper', File.dirname(__FILE__))

ExampleUniverse.dataflow(:simple) do
  doc <<-DOC
    A stupidly simple dataflow: reverses each input string
  DOC

  input  :default, file_source(Pathname.path_to(:data, 'text/jabberwocky.txt'))
  output :dump,    file_sink(Pathname.path_to(:tmp, 'dataflow/simple_output.rb'))

  input(:default) > map{|str| str.reverse } > output(:dump)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wukong-3.0.0.pre examples/dataflow/simple.rb