Module: Compass::Core

Defined in:
lib/compass/core.rb,
lib/compass/core/version.rb,
lib/compass/core/generated_version.rb

Defined Under Namespace

Modules: SassExtensions Classes: CanIUse

Constant Summary collapse

VERSION =
File.read(scope("VERSION")).strip

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.module_deprecation_warning_issuedObject

Returns the value of attribute module_deprecation_warning_issued.



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

def module_deprecation_warning_issued
  @module_deprecation_warning_issued
end

Class Method Details

.base_directory(*subdirs) ⇒ Object



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

def base_directory(*subdirs)
  File.expand_path(File.join(File.dirname(__FILE__), '..', "..", *subdirs))
end

.lib_directory(*subdirs) ⇒ Object



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

def lib_directory(*subdirs)
  File.expand_path(File.join(File.dirname(__FILE__), "..", *subdirs))
end

.scope(file) ⇒ Object



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

def self.scope(file)
  File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "..", file))
end