Module: Sass::Script::Functions

Defined in:
lib/compass-config.rb

Overview

Custom SassScript

Instance Method Summary collapse

Instance Method Details

#x_compass_config(property) ⇒ Object



10
11
12
13
14
15
# File 'lib/compass-config.rb', line 10

def x_compass_config(property)
    property = property.value
    property = Compass.configuration.read(property)
    property = property.to_s
    return Sass::Script::String.new(property)
end