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=



129
130
131
# File 'lib/cell/view_model.rb', line 129

def <<(string)
  super
end

#encodingObject



125
126
127
# File 'lib/cell/view_model.rb', line 125

def encoding
  "UTF-8"
end

#to_sObject

output_buffer is returned at the end of the precompiled template.



135
136
137
# File 'lib/cell/view_model.rb', line 135

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