Module: Faye::Publisher
- Includes:
- WebSocket::Driver::EventEmitter
- Included in:
- Channel, Client, Dispatcher, Engine::Proxy, Transport
- Defined in:
- lib/faye/mixins/publisher.rb
Instance Method Summary collapse
Instance Method Details
#unbind(event, &listener) ⇒ Object
9 10 11 12 13 14 15 |
# File 'lib/faye/mixins/publisher.rb', line 9 def unbind(event, &listener) if listener remove_listener(event, &listener) else remove_all_listeners(event) end end |