module Net::SMTP::Headers

Constants

VERSION

Public Instance Methods

get_response(reqline) click to toggle source
Calls superclass method
# File lib/net/smtp/headers.rb, line 11
def get_response(reqline)
  debug_output.write reqline if debug_output
  super
end
recv_response() click to toggle source
Calls superclass method
# File lib/net/smtp/headers.rb, line 16
def recv_response
  res = super
  debug_output.write res.instance_variable_get(:@string) if debug_output
  res
end

Private Instance Methods

debug_output() click to toggle source
# File lib/net/smtp/headers.rb, line 23
def debug_output
  @debug_output || self.class.instance_variable_get(:@debug_output)
end