Class: Crimson::Adapters::Faye
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- Crimson::Adapters::Faye
- Defined in:
- lib/crimson/adapters/faye.rb
Instance Method Summary collapse
-
#initialize(ws) ⇒ Faye
constructor
A new instance of Faye.
- #write(message) ⇒ Object
Constructor Details
#initialize(ws) ⇒ Faye
Returns a new instance of Faye.
6 7 8 9 |
# File 'lib/crimson/adapters/faye.rb', line 6 def initialize(ws) @ws = ws super(@ws) end |
Instance Method Details
#write(message) ⇒ Object
11 12 13 |
# File 'lib/crimson/adapters/faye.rb', line 11 def write() @ws.send() end |