Method: Ears.stop!
- Defined in:
- lib/ears.rb
.stop! ⇒ Object
Closes the connection, removing the consumers.
67 68 69 70 71 |
# File 'lib/ears.rb', line 67 def stop! connection.close @connection = nil Thread.current[:ears_channel] = nil end |