Sha256: ebe7ec85c6dd5d3a94846e646a2f12fc429070252101ed534d85f9dddfd3043f
Contents?: true
Size: 436 Bytes
Versions: 1
Compression:
Stored size: 436 Bytes
Contents
module Pacer::Pipes class LabelPrefixPipe < RubyPipe def initialize(prefix) super() @prefix = /^#{prefix}/ end def processNextStart while true edge = @starts.next return edge if edge.label =~ @prefix end rescue NativeException => e if e.cause.getClass == Pacer::NoSuchElementException.getClass raise e.cause else raise e end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
pacer-0.9.1.1-java | lib/pacer/pipe/label_prefix_pipe.rb |