Class: PiecePipe::Step
- Inherits:
-
Object
- Object
- PiecePipe::Step
- Defined in:
- lib/piece_pipe/step.rb
Direct Known Subclasses
AssemblyStep, Collector, DebugStep, GroupByStep, HashedAggregator, MapStep, MethodStep, TapStep
Instance Attribute Summary collapse
-
#source ⇒ Object
Returns the value of attribute source.
Instance Method Summary collapse
Instance Attribute Details
#source ⇒ Object
Returns the value of attribute source.
3 4 5 |
# File 'lib/piece_pipe/step.rb', line 3 def source @source end |
Instance Method Details
#to_enum ⇒ Object
5 6 7 8 9 10 11 12 13 14 |
# File 'lib/piece_pipe/step.rb', line 5 def to_enum Enumerator.new do |yielder| @yielder = yielder begin generate_sequence ensure @yielder = nil end end end |