class ActionView::OutputBuffer
def initialize(*)
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (*unused *) -> void
This signature was generated using 128 samples from 2 applications.
puts sbuf # => "hello\u0005"
sbuf << 5
sbuf = ActiveSupport::SafeBuffer.new "hello"
puts obuf # => "hello5"
obuf << 5
obuf = ActionView::OutputBuffer.new "hello"
the input. For example:
checked for nil before they are assigned and `to_s` is called on
is for the methods `<<` and `safe_expr_append=` the inputs are
The main difference between this and ActiveSupport::SafeBuffer
Used as a buffer for views
def initialize(*) super encode! end