Sha256: 3fdfca7edec437cb197aff4df87fd908912c4a88225d72e224f434eb19d4c504

Contents?: true

Size: 167 Bytes

Versions: 5

Compression:

Stored size: 167 Bytes

Contents

# A simple processor in its own little file.
class StringReverser < Wukong::Processor
  def process line
    yield line.reverse
  end
  register(:string_reverser)
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
ul-wukong-4.1.1 examples/string_reverser.rb
ul-wukong-4.1.0 examples/string_reverser.rb
wukong-4.0.0 examples/string_reverser.rb
wukong-3.0.1 examples/string_reverser.rb
wukong-3.0.0 examples/string_reverser.rb