Class: ActionView::OutputBuffer
- Inherits:
-
ActiveSupport::SafeBuffer
- Object
- ActiveSupport::SafeBuffer
- ActionView::OutputBuffer
- Defined in:
- lib/action_view/buffers.rb
Overview
:nodoc:
Instance Method Summary collapse
- #<<(value) ⇒ Object (also: #append=)
-
#initialize ⇒ OutputBuffer
constructor
A new instance of OutputBuffer.
Constructor Details
#initialize ⇒ OutputBuffer
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 |