Module: Releaf::Builders::Template

Included in:
Page::HeaderBuilder, Page::LayoutBuilder, Page::MenuBuilder, PaginationBuilder, ToolboxBuilder, View
Defined in:
app/builders/releaf/builders/template.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#templateObject

Returns the value of attribute template


2
3
4
# File 'app/builders/releaf/builders/template.rb', line 2

def template
  @template
end

Instance Method Details

#initialize(template) ⇒ Object


4
5
6
# File 'app/builders/releaf/builders/template.rb', line 4

def initialize(template)
  self.template = template
end