Sha256: e4309641497467b83d0195d313eea263b3589e90612f001e05ca37c3af3251f4

Contents?: true

Size: 338 Bytes

Versions: 14

Compression:

Stored size: 338 Bytes

Contents

module Pacer
  module Routes
    module RouteOperations
      # Do not return duplicate elements.
      def uniq(*filters, &block)
        Pacer::Route.property_filter_before(self, filters, block) do |r|
          chain_route :pipe_class => Pacer::Pipes::DuplicateFilterPipe, :route_name => 'uniq'
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
pacer-1.4.0-java lib/pacer/filter/uniq_filter.rb
pacer-1.3.5-java lib/pacer/filter/uniq_filter.rb
pacer-1.3.4-java lib/pacer/filter/uniq_filter.rb
pacer-1.3.3-java lib/pacer/filter/uniq_filter.rb
pacer-1.3.2-java lib/pacer/filter/uniq_filter.rb
pacer-1.3.1-java lib/pacer/filter/uniq_filter.rb
pacer-1.2.0-java lib/pacer/filter/uniq_filter.rb
pacer-1.1.1-java lib/pacer/filter/uniq_filter.rb
pacer-1.1.0-java lib/pacer/filter/uniq_filter.rb
pacer-1.0.3-java lib/pacer/filter/uniq_filter.rb
pacer-1.0.2-java lib/pacer/filter/uniq_filter.rb
pacer-1.0.1-java lib/pacer/filter/uniq_filter.rb
pacer-1.0.0-java lib/pacer/filter/uniq_filter.rb
pacer-0.9.1.1-java lib/pacer/filter/uniq_filter.rb