Class: Amrita2::Renderers::HashRenderer
- Defined in:
- lib/amrita2/template.rb
Instance Method Summary collapse
- #generate_body(cg, de, element) ⇒ Object
-
#initialize ⇒ HashRenderer
constructor
A new instance of HashRenderer.
Methods inherited from Base
Constructor Details
#initialize ⇒ HashRenderer
Returns a new instance of HashRenderer.
1911 1912 1913 |
# File 'lib/amrita2/template.rb', line 1911 def initialize super("DictionaryData") end |
Instance Method Details
#generate_body(cg, de, element) ⇒ Object
1916 1917 1918 1919 1920 1921 1922 |
# File 'lib/amrita2/template.rb', line 1916 def generate_body(cg, de, element) de.element_render_code(cg, element) do de.children.each do |c| c.render_me(cg) end end end |