Class: Pipe::Iterator
- Inherits:
-
Object
- Object
- Pipe::Iterator
- Defined in:
- lib/pipe/iterator.rb
Instance Method Summary collapse
-
#initialize(config:, context:, subjects:, through:) ⇒ Iterator
constructor
A new instance of Iterator.
- #iterate ⇒ Object
Constructor Details
#initialize(config:, context:, subjects:, through:) ⇒ Iterator
Returns a new instance of Iterator.
3 4 5 6 7 8 |
# File 'lib/pipe/iterator.rb', line 3 def initialize(config:, context:, subjects:, through:) self.config = config self.context = context self.subjects = subjects self.through = through end |