The writer adapter class
Methods
Class Public methods
new(socket, method)
Link
Source: show
# File lib/net/protocol.rb, line 362 def initialize(socket, method) @socket = socket @method_id = method end
Instance Public methods
inspect()
Link
Source: show
# File lib/net/protocol.rb, line 367 def inspect "#<#{self.class} socket=#{@socket.inspect}>" end
printf(*args)
Link
Source: show
# File lib/net/protocol.rb, line 386 def printf(*args) write sprintf(*args) end