Method: Net::POP3#set_debug_output
- Defined in:
- lib/pop_ssl.rb
#set_debug_output(arg) ⇒ Object
WARNING: This method causes a serious security hole. Use this method only for debugging.
Set an output stream for debugging.
Example
pop = Net::POP.new(addr, port)
pop.set_debug_output $stderr
pop.start(account, passwd) do |pop|
....
end
477 478 479 |
# File 'lib/pop_ssl.rb', line 477 def set_debug_output(arg) @debug_output = arg end |