class Sink::InputRejectWrapper

Public Instance Methods

<<(args) click to toggle source
# File lib/coroutines/sink.rb, line 122
def <<(args)
        @target << args unless @block.call(args)
end
inspect() click to toggle source
# File lib/coroutines/sink.rb, line 125
def inspect
        "#<#{@target.inspect}#reject>"
end