Method: ActionView::StreamingFlow#initialize
- Defined in:
- actionview/lib/action_view/flows.rb
#initialize(view, fiber) ⇒ StreamingFlow
Returns a new instance of StreamingFlow.
31 32 33 34 35 36 37 38 |
# File 'actionview/lib/action_view/flows.rb', line 31 def initialize(view, fiber) @view = view @parent = nil @child = view.output_buffer @content = view.view_flow.content @fiber = fiber @root = Fiber.current.object_id end |