Class: ActionView::RawOutputBuffer
- Inherits:
-
Object
- Object
- ActionView::RawOutputBuffer
- Defined in:
- lib/action_view/buffers.rb
Overview
:nodoc:
Instance Method Summary collapse
- #<<(value) ⇒ Object
-
#initialize(buffer) ⇒ RawOutputBuffer
constructor
A new instance of RawOutputBuffer.
- #raw ⇒ Object
Constructor Details
#initialize(buffer) ⇒ RawOutputBuffer
Returns a new instance of RawOutputBuffer.
93 94 95 |
# File 'lib/action_view/buffers.rb', line 93 def initialize(buffer) @buffer = buffer end |
Instance Method Details
#<<(value) ⇒ Object
97 98 99 100 101 |
# File 'lib/action_view/buffers.rb', line 97 def <<(value) unless value.nil? @buffer.raw_buffer << value.to_s end end |
#raw ⇒ Object
103 104 105 |
# File 'lib/action_view/buffers.rb', line 103 def raw self end |