Method: ActionView::OutputFlow#set

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

#set(key, value) ⇒ Object

Called by each renderer object to set the layout contents.



19
20
21
# File 'actionview/lib/action_view/flows.rb', line 19

def set(key, value)
  @content[key] = ActiveSupport::SafeBuffer.new(value.to_s)
end