Class: ActionView::OutputBuffer

Inherits:
ActiveSupport::SafeBuffer show all
Defined in:
actionpack/lib/action_view/buffers.rb

Overview

:nodoc:

Constant Summary

Constants inherited from ActiveSupport::SafeBuffer

ActiveSupport::SafeBuffer::UNSAFE_STRING_METHODS

Constants inherited from String

String::NON_WHITESPACE_REGEXP

Instance Method Summary collapse

Methods inherited from ActiveSupport::SafeBuffer

#+, #[], #clone_empty, #concat, #encode_with, #html_safe?, #initialize_copy, #safe_concat, #to_param, #to_s, #to_yaml

Methods inherited from String

#acts_like_string?, #as_json, #at, #blank?, #camelize, #classify, #constantize, #dasherize, #deconstantize, #demodulize, #encode_json, #encoding_aware?, #exclude?, #first, #foreign_key, #from, #html_safe, #humanize, #inquiry, #is_utf8?, #last, #mb_chars, #ord, #parameterize, #pluralize, #safe_constantize, #singularize, #squish, #squish!, #strip_heredoc, #tableize, #titleize, #to, #to_date, #to_datetime, #to_time, #truncate, #underscore

Constructor Details

#initializeOutputBuffer


5
6
7
8
# File 'actionpack/lib/action_view/buffers.rb', line 5

def initialize(*)
  super
  encode! if encoding_aware?
end

Instance Method Details

#<<(value) ⇒ Object Also known as: append=


10
11
12
# File 'actionpack/lib/action_view/buffers.rb', line 10

def <<(value)
  super(value.to_s)
end