Sha256: 5e46a7a69aaba87f0b11fdc1bac76bcafa0aa8aca3a9873e7e7d5d86ae866bf9

Contents?: true

Size: 216 Bytes

Versions: 1

Compression:

Stored size: 216 Bytes

Contents

module Stages
  class EachElement < Stage
    def initialize(things)
      @things = things
      super()
    end
    
    def process 
      @things.each do |thing|
        output thing 
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stages-0.0.1 lib/stages/each_element.rb