class ActionView::OutputBuffer

def <<(value)

Experimental RBS support (using type sampling data from the type_fusion project).

def <<: ((String | ActiveSupport::SafeBuffer) value) -> ActionView::OutputBuffer

This signature was generated using 10 samples from 1 application.

def <<(value)
  unless value.nil?
    value = value.to_s
    @raw_buffer << if value.html_safe?
      value
    else
      CGI.escapeHTML(value)
    end
  end
  self
end