The writer adapter class
# File net/protocol.rb, line 453 def inspect "#<#{self.class} writer=#{@writer.inspect}>" end
# File net/protocol.rb, line 472 def printf(*args) write sprintf(*args) end
# File net/protocol.rb, line 468 def puts(str = '') write str.chomp("\n") + "\n" end
# File net/protocol.rb, line 457 def write(str) @writer.call(str) end