Module: EventMachine::IMAP::Connection::Debug
- Defined in:
- lib/em-imap/connection.rb
Overview
Intercepts send_data and receive_data and logs them to STDOUT, this should be the last module included.
Instance Method Summary collapse
Instance Method Details
#receive_data(data) ⇒ Object
188 189 190 191 |
# File 'lib/em-imap/connection.rb', line 188 def receive_data(data) puts "S: #{data.inspect}" super end |
#send_data(data) ⇒ Object
183 184 185 186 |
# File 'lib/em-imap/connection.rb', line 183 def send_data(data) puts "C: #{data.inspect}" super end |