class ActionView::OutputFlow

:nodoc:

def append(key, value)

Called by content_for
def append(key, value)
  @content[key] << value.to_s
end

def get(key)

Called by _layout_for to read stored values.
def get(key)
  @content[key]
end

def initialize

def initialize
  @content = Hash.new { |h, k| h[k] = ActiveSupport::SafeBuffer.new }
end

def set(key, value)

Called by each renderer object to set the layout contents.
def set(key, value)
  @content[key] = ActiveSupport::SafeBuffer.new(value.to_s)
end