Class: Amrita2::Renderers::TrueRenderer

Inherits:
Base show all
Defined in:
lib/amrita2/template.rb

Instance Method Summary collapse

Methods inherited from Base

#generate_when

Constructor Details

#initializeTrueRenderer

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