Module: Releaf::Builders::Collection

Included in:
IndexBuilder
Defined in:
app/builders/releaf/builders/collection.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#collectionObject

Returns the value of attribute collection


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

def collection
  @collection
end

Instance Method Details

#initialize(template) ⇒ Object


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

def initialize(template)
  super
  self.collection = template_variable("collection")
end