Sha256: 8e75b6d5664fb205cc12c00808fad4859da45661e5e480d38ed1099fc0e3ab17
Contents?: true
Size: 539 Bytes
Versions: 1
Compression:
Stored size: 539 Bytes
Contents
module Pacer module Routes module RouteOperations def is_unique chain_route :side_effect => :is_unique end def unique? is_unique.unique? end end end module SideEffect module IsUnique def unique? pipe do |pipe| pipe.next while pipe.unique? end.unique? end protected def attach_pipe(end_pipe) @pipe = Pacer::Pipes::IsUniquePipe.new @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/is_unique.rb |