Class: Wildcloud::Logger::Middleware::Logeen::Connection
- Inherits:
-
EventMachine::Connection
- Object
- EventMachine::Connection
- Wildcloud::Logger::Middleware::Logeen::Connection
- Defined in:
- lib/wildcloud/logger/middleware/logeen.rb
Instance Method Summary collapse
-
#initialize(logger) ⇒ Connection
constructor
A new instance of Connection.
- #unbind ⇒ Object
Constructor Details
#initialize(logger) ⇒ Connection
Returns a new instance of Connection.
25 26 27 28 |
# File 'lib/wildcloud/logger/middleware/logeen.rb', line 25 def initialize(logger) super @logger = logger end |
Instance Method Details
#unbind ⇒ Object
30 31 32 33 |
# File 'lib/wildcloud/logger/middleware/logeen.rb', line 30 def unbind @logger.reconnect @logger = nil end |