Class: ActionView::OutputBuffer

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

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initializeOutputBuffer

Returns a new instance of OutputBuffer.



5
6
7
8
# File '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 'lib/action_view/buffers.rb', line 10

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