class Sink::InputWrapper

Public Class Methods

new(target, &block) click to toggle source
# File lib/coroutines/sink.rb, line 94
def initialize(target, &block)
        @target = target; @block = block
end

Public Instance Methods

close() click to toggle source
# File lib/coroutines/sink.rb, line 97
def close
        @target.close
end