Class: ActionView::RawOutputBuffer
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | actionview/lib/action_view/buffers.rb |
Class Method Summary
- .new(buffer) ⇒ RawOutputBuffer constructor
Instance Method Summary
Constructor Details
.new(buffer) ⇒ RawOutputBuffer
# File 'actionview/lib/action_view/buffers.rb', line 93
def initialize(buffer) @buffer = buffer end
Instance Method Details
#<<(value)
[ GitHub ]# File 'actionview/lib/action_view/buffers.rb', line 97
def <<(value) unless value.nil? @buffer.raw_buffer << value.to_s end end
#raw
[ GitHub ]# File 'actionview/lib/action_view/buffers.rb', line 103
def raw self end