class Convection::Model::Template::Mapping
Attributes
items[R]
template[R]
Public Class Methods
new(name, parent)
click to toggle source
# File lib/convection/model/template/mapping.rb, line 26 def initialize(name, parent) @name = name @template = parent.template @items = Smash.new end
Public Instance Methods
item(key_1, key_2, value)
click to toggle source
# File lib/convection/model/template/mapping.rb, line 33 def item(key_1, key_2, value) items[key_1][key_2] = value end
render()
click to toggle source
# File lib/convection/model/template/mapping.rb, line 37 def render items end