class Bridgetown::OutputBuffer

Public Class Methods

new(*) click to toggle source
Calls superclass method
# File lib/bridgetown-core/converters/erb_templates.rb, line 7
def initialize(*)
  super
  encode!
end

Public Instance Methods

<<(value) click to toggle source
Calls superclass method
# File lib/bridgetown-core/converters/erb_templates.rb, line 12
def <<(value)
  return self if value.nil?

  super(value.to_s)
end
Also aliased as: append=
append=(value)
Alias for: <<
safe_expr_append=(val) click to toggle source
# File lib/bridgetown-core/converters/erb_templates.rb, line 19
def safe_expr_append=(val)
  return self if val.nil? # rubocop:disable Lint/ReturnInVoidContext

  safe_concat val.to_s
end