Sha256: 03b47005e97caa48347cbeead064632ea0761af44ea19a587a6cb85000be8a15
Contents?: true
Size: 425 Bytes
Versions: 5
Compression:
Stored size: 425 Bytes
Contents
Wukong.processor(:simple) do def process(record) yield record end end Wukong.processor(:skipped) do def process(record) # skip records end end Wukong.processor(:multi) do def process(record) 3.times{ yield record } end end Wukong.processor(:test_example) do def process(record) yield "I raised the #{record['foo']}" end end Wukong.dataflow(:flow) do from_json | test_example end
Version data entries
5 entries across 5 versions & 1 rubygems