Class: Amrita2::Renderers::TrueRenderer
- Defined in:
- lib/amrita2/template.rb
Instance Method Summary collapse
- #generate_body(cg, de, element) ⇒ Object
-
#initialize ⇒ TrueRenderer
constructor
A new instance of TrueRenderer.
Methods inherited from Base
Constructor Details
#initialize ⇒ TrueRenderer
Returns a new instance of TrueRenderer.
1901 1902 1903 |
# File 'lib/amrita2/template.rb', line 1901 def initialize super("true") end |
Instance Method Details
#generate_body(cg, de, element) ⇒ Object
1905 1906 1907 |
# File 'lib/amrita2/template.rb', line 1905 def generate_body(cg, de, element) cg.put_hpricot_node(element) end |