Class: Roda::RodaPlugins::SSE::Body
- Inherits:
-
Object
- Object
- Roda::RodaPlugins::SSE::Body
- Defined in:
- lib/roda/plugins/sse.rb
Instance Method Summary collapse
- #call(stream) ⇒ Object
-
#initialize(block) ⇒ Body
constructor
A new instance of Body.
Constructor Details
#initialize(block) ⇒ Body
Returns a new instance of Body.
45 46 47 |
# File 'lib/roda/plugins/sse.rb', line 45 def initialize(block) @block = block end |