class ActionView::StreamingBuffer

:nodoc:

def <<(value)

def <<(value)
  value = value.to_s
  value = ERB::Util.h(value) unless value.html_safe?
  @block.call(value)
end

def html_safe

def html_safe
  self
end

def html_safe?

def html_safe?
  true
end

def initialize(block)

:nodoc:
def initialize(block)
  @block = block
end

def safe_concat(value)

def safe_concat(value)
  @block.call(value.to_s)
end