Class: Mementus::Pipeline::Transform
- Defined in:
- lib/mementus/pipeline/transform.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods inherited from Pipe
Constructor Details
This class inherits a constructor from Mementus::Pipeline::Pipe
Instance Method Details
#call(element) ⇒ Object
4 5 6 |
# File 'lib/mementus/pipeline/transform.rb', line 4 def call(element) Fiber.yield(process(element)) end |