module ROM::Pipeline
Data pipeline common interface
@api private
Public Instance Methods
map_with(*names)
click to toggle source
Send data through specified mappers
@return [Relation::Composite]
@api public
# File lib/rom/pipeline.rb, line 41 def map_with(*names) [self, *names.map { |name| mappers[name] }] .reduce { |a, e| composite_class.new(a, e) } end