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
187 188 189 190 |
# File 'lib/em-imap/connection.rb', line 187 def receive_data(data) puts "S: #{data.inspect}" super end |
#send_data(data) ⇒ Object
182 183 184 185 |
# File 'lib/em-imap/connection.rb', line 182 def send_data(data) puts "C: #{data.inspect}" super end |