Sha256: 90fd67068c3477b8ad9bc9356ebc439c3c93943cb4f771b0d5980fd616c5fe4d

Contents?: true

Size: 346 Bytes

Versions: 7

Compression:

Stored size: 346 Bytes

Contents

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

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

  file_source(Pathname.path_to(:data, 'text/jabberwocky.txt')) >
    map{|str| str.reverse } >
    file_sink(Pathname.path_to(:tmp, 'dataflow/simple_output.rb'))

end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ul-wukong-4.1.1 examples/dsl/dataflow/simple.rb
ul-wukong-4.1.0 examples/dsl/dataflow/simple.rb
wukong-4.0.0 examples/dsl/dataflow/simple.rb
wukong-3.0.1 examples/dsl/dataflow/simple.rb
wukong-3.0.0 examples/dsl/dataflow/simple.rb
wukong-3.0.0.pre3 examples/dsl/dataflow/simple.rb
wukong-3.0.0.pre2 examples/dataflow/simple.rb