Module: Sprockets::Sass

Defined in:
lib/custom-extensions/sprockets-sass.rb

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.add_sass_functionsObject

When false, the asset path helpers provided by sprockets-helpers will not be added as Sass functions. ‘true` by default.



20
21
22
# File 'lib/custom-extensions/sprockets-sass.rb', line 20

def add_sass_functions
  @add_sass_functions
end

.optionsObject

Global configuration for ‘Sass::Engine` instances.



15
16
17
# File 'lib/custom-extensions/sprockets-sass.rb', line 15

def options
  @options
end

Class Method Details

.const_missing(const) ⇒ Object

Allow to fallback to real sass



27
28
29
# File 'lib/custom-extensions/sprockets-sass.rb', line 27

def self.const_missing(const)
  ::Sass.const_get const
end