class ActionView::OutputFlow
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/action_view/flows.rbs class ActionView::OutputFlow def set: (Symbol key, ActionView::OutputBuffer value) -> ActiveSupport::SafeBuffer end
:nodoc:
def append(key, value)
def append(key, value) @content[key] << value.to_s end
def get(key)
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)
Experimental RBS support (using type sampling data from the type_fusion
project).
def set: (Symbol key, ActionView::OutputBuffer value) -> ActiveSupport::SafeBuffer
This signature was generated using 1 sample from 1 application.
def set(key, value) @content[key] = ActiveSupport::SafeBuffer.new(value.to_s) end