debug_output=(arg)
public
WARNING: This method causes serious security holes. Use this method for
only debugging.
Set an output stream for debug logging. You must call this before #start.
smtp = Net::SMTP.new(addr, port)
smtp.set_debug_output $stderr
smtp.start do |smtp|
....
end
Show source
def debug_output=(arg)
@debug_output = arg
end