Method: Spider::Template#initialize
- Defined in:
- lib/spiderfw/templates/template.rb
#initialize(path = nil) ⇒ Template
Returns a new instance of Template.
226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 |
# File 'lib/spiderfw/templates/template.rb', line 226 def initialize(path=nil) @path = path @widgets = {} @subtemplates = {} @widget_templates = [] @subtemplate_owners = {} @id_path = [] @assets = [] @content = {} @dependencies = [] @overrides = [] @widgets_overrides = {} @widget_procs = {} @runtime_overrides = [] end |