method

call_block

ruby latest stable - Class: Net::ReadAdapter
call_block(str)
private

This method is needed because @block must be called by yield, not Proc#call. You can see difference when using `break’ in the block.