class Gem::Net::ReadAdapter

:nodoc: internal use only

def <<(str)

def <<(str)
  call_block(str, &@block) if @block
end

def call_block(str)

the block.
not Proc#call. You can see difference when using `break' in
This method is needed because @block must be called by yield,
def call_block(str)
  yield str
end

def initialize(block)

:nodoc: internal use only
def initialize(block)
  @block = block
end

def inspect

def inspect
  "#<#{self.class}>"
end