Sha256: bcda5ceeb5f41f50774630fedf2873cc701aafdbd91d76227c8e34e844737ec4

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

module Pacer
  module Routes
    module RouteOperations
      def map(opts = {}, &block)
        chain_route({:transform => :map, :block => block, :element_type => :object}.merge(opts))
      end
    end
  end

  module Transform
    module Map
      attr_accessor :block

      protected

      def attach_pipe(end_pipe)
        pipe = Pacer::Pipes::MapPipe.new(back, block)
        pipe.setStarts end_pipe if end_pipe
        pipe
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pacer-0.9.1.1-java lib/pacer/transform/map.rb