Sha256: 931a9f012a9fe35b4cca1aa0396850e9e9f66b3d9fd3f9aea7b6c28d82457daf

Contents?: true

Size: 180 Bytes

Versions: 2

Compression:

Stored size: 180 Bytes

Contents

module Stages
  class EachInput < Stage
    def handle_value(value)
      value = @block.call(value) if @block
      value.each do |i|
        output i
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stages-0.1.1 lib/stages/each_input.rb
stages-0.1.0 lib/stages/each_input.rb