Sha256: f39cd9d942f7e6994f7a712a2f6a970ae68a800a542d623181af6047dc3e9adb

Contents?: true

Size: 220 Bytes

Versions: 2

Compression:

Stored size: 220 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

2 entries across 2 versions & 1 rubygems

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