Class: Compass::Frameworks::Framework

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, path) ⇒ Framework

Returns a new instance of Framework.



7
8
9
10
# File 'lib/compass/frameworks.rb', line 7

def initialize(name, path)
  self.name = name
  self.path = path
end

Instance Attribute Details

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/compass/frameworks.rb', line 5

def name
  @name
end

#pathObject

Returns the value of attribute path.



6
7
8
# File 'lib/compass/frameworks.rb', line 6

def path
  @path
end

Instance Method Details

#stylesheets_directoryObject



14
15
16
# File 'lib/compass/frameworks.rb', line 14

def stylesheets_directory
  File.join(self.path, 'stylesheets')
end

#template_directoryObject



11
12
13
# File 'lib/compass/frameworks.rb', line 11

def template_directory
  File.join(self.path, 'templates')
end