Method: ActionView::StreamingFlow#append!

Defined in:
actionview/lib/action_view/flows.rb

#append!(key, value) ⇒ Object

Appends the contents for the given key. This is called by providing and resuming back to the fiber, if that’s the key it’s waiting for.



65
66
67
68
# File 'actionview/lib/action_view/flows.rb', line 65

def append!(key, value)
  super
  @fiber.resume if @waiting_for == key
end