Module: Pacer::Transform::Process
- Defined in:
- lib/pacer/transform/process.rb
Instance Attribute Summary collapse
-
#block ⇒ Object
Returns the value of attribute block.
Instance Method Summary collapse
Instance Attribute Details
#block ⇒ Object
Returns the value of attribute block.
12 13 14 |
# File 'lib/pacer/transform/process.rb', line 12 def block @block end |
Instance Method Details
#help(section = nil) ⇒ Object
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/pacer/transform/process.rb', line 14 def help(section = nil) case section when nil puts "The process method executes the given block for each element that is\npassed through the route. After the block is called, the element that\nwas passed to it is emitted to be handled by the next step in the route.\n\nIt is Pacer's lazy version of the #each method.\n\n" else super end end |