Sha256: aa43e5dedd1fd13909fa18e328d72930b8bfba5eafa759f84cc07d33defe9dbb
Contents?: true
Size: 681 Bytes
Versions: 1
Compression:
Stored size: 681 Bytes
Contents
module Pacer module Routes::RouteOperations def aggregate(into = nil) chain_route :side_effect => :aggregate, :into => into end end module SideEffect module Aggregate import com.tinkerpop.pipes.sideeffect.AggregatePipe import java.util.HashSet attr_accessor :into protected def attach_pipe(end_pipe) if into.is_a? Symbol hs = vars[into] = HashSet.new pipe = AggregatePipe.new hs elsif into pipe = AggregatePipe.new into else pipe = AggregatePipe.new HashSet.new end 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/side_effect/aggregate.rb |