Class: Motley::Site

Inherits:
Object
  • Object
show all
Defined in:
lib/motley.rb

Overview

Motley::Site

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(root, resources, opts = {}) ⇒ Site


initialize



29
30
31
32
# File 'lib/motley.rb', line 29

def initialize(root, resources, opts={})
  @root = root
  @resources = resources
end

Instance Attribute Details

#resourcesObject

Returns the value of attribute resources.



24
25
26
# File 'lib/motley.rb', line 24

def resources
  @resources
end

#rootObject

Returns the value of attribute root.



23
24
25
# File 'lib/motley.rb', line 23

def root
  @root
end