Method: Representable::Pipeline#call
- Defined in:
- lib/representable/pipeline.rb
#call(context, value, *args) ⇒ Object
include Representable::Cloneable
10 11 12 |
# File 'lib/representable/pipeline.rb', line 10 def call(context, value, *args) inject(value) { |memo, block| block.call(memo, *args) } end |