Module: Faye::RackStream::Reader
- Defined in:
- lib/faye/rack_stream.rb
Instance Attribute Summary collapse
-
#stream ⇒ Object
Returns the value of attribute stream.
Instance Method Summary collapse
Instance Attribute Details
#stream ⇒ Object
Returns the value of attribute stream.
7 8 9 |
# File 'lib/faye/rack_stream.rb', line 7 def stream @stream end |
Instance Method Details
#receive_data(data) ⇒ Object
9 10 11 |
# File 'lib/faye/rack_stream.rb', line 9 def receive_data(data) stream.receive(data) end |
#unbind ⇒ Object
13 14 15 |
# File 'lib/faye/rack_stream.rb', line 13 def unbind stream.fail end |