Class: Mementus::Pipeline::Filter
- Defined in:
- lib/mementus/pipeline/filter.rb
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/filter.rb', line 4 def call(element) Fiber.yield(element) if process(element) end |