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=



143
144
145
# File 'lib/cell/view_model.rb', line 143

def <<(string)
  super
end

#encodingObject



139
140
141
# File 'lib/cell/view_model.rb', line 139

def encoding
  "UTF-8"
end

#to_sObject

output_buffer is returned at the end of the precompiled template.



149
150
151
# File 'lib/cell/view_model.rb', line 149

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