Module: Releaf::Builders::Resource

Included in:
ResourceDialog, ResourceView, ToolboxBuilder
Defined in:
app/builders/releaf/builders/resource.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#resourceObject

Returns the value of attribute resource


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

def resource
  @resource
end

Instance Method Details

#initialize(template) ⇒ Object


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

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