Class: Cell::ViewModel::OutputBuffer

Inherits:
Array
  • Object
show all
Defined in:
lib/cell/view_model.rb

Instance Method Summary collapse

Instance Method Details

#<<(string) ⇒ Object Also known as: safe_append=, append=


163
164
165
# File 'lib/cell/view_model.rb', line 163

def <<(string)
  super
end

#encodingObject


159
160
161
# File 'lib/cell/view_model.rb', line 159

def encoding
  "UTF-8"
end

#to_sObject

output_buffer is returned at the end of the precompiled template.


169
170
171
# File 'lib/cell/view_model.rb', line 169

def to_s # output_buffer is returned at the end of the precompiled template.
  join
end