Class: Guh::EM::Notifications
- Inherits:
-
Object
- Object
- Guh::EM::Notifications
- Defined in:
- lib/guh/em/notifications.rb
Class Method Summary collapse
Class Method Details
.subscribe ⇒ Object
5 6 7 8 9 |
# File 'lib/guh/em/notifications.rb', line 5 def self.subscribe EventMachine.connect Guh::Base.guh_ip_address, Guh::Base.guh_port, Connection do |connection| yield connection end end |