Class: Temple::Generators::Array
- Inherits:
-
Temple::Generator
- Object
- Temple::Generator
- Temple::Generators::Array
- Defined in:
- lib/temple/generators/array.rb
Overview
Implements an array buffer.
_buf = []
_buf << "static"
_buf << dynamic
_buf
Direct Known Subclasses
Constant Summary
Constants included from Utils
Utils::ESCAPE_HTML, Utils::ESCAPE_HTML_PATTERN
Instance Attribute Summary
Attributes included from Mixins::Options
Instance Method Summary collapse
Methods inherited from Temple::Generator
#call, #on, #on_capture, #on_code, #on_dynamic, #on_multi, #on_newline, #on_static, #postamble, #preamble, #restore_buffer, #save_buffer
Methods included from Mixins::Options
Methods included from Mixins::CompiledDispatcher
Methods included from Utils
#empty_exp?, #escape_html, #escape_html_safe, #indent_dynamic, #unique_name