Method: Stages::Each#initialize

Defined in:
lib/stages/each.rb

#initialize(things = nil, &block) ⇒ Each

Returns a new instance of Each.



3
4
5
6
7
# File 'lib/stages/each.rb', line 3

def initialize(things = nil, &block)
  @things = things unless things.nil?
  @block = block
  super()
end