Sha256: 832ac884d17e1742fada5680e69e1521ae6a78e0e730fc136aac0df2f31cafc7
Contents?: true
Size: 398 Bytes
Versions: 26
Compression:
Stored size: 398 Bytes
Contents
module Pacer::Pipes class IsEmptyPipe < RubyPipe def initialize super @raise = false end def processNextStart raise EmptyPipe.instance if @raise starts.next @raise = true rescue EmptyPipe, java.util.NoSuchElementException true else raise EmptyPipe.instance end def reset @raise = false super() end end end
Version data entries
26 entries across 26 versions & 1 rubygems