Module: RogerSassc
- Defined in:
- lib/roger_sassc.rb,
lib/roger_sassc/version.rb,
lib/roger_sassc/processor.rb,
lib/roger_sassc/middleware.rb,
lib/roger_sassc/sassc/asset_functions.rb
Overview
Version number
Defined Under Namespace
Modules: SassC Classes: Middleware, Processor
Constant Summary collapse
- DEFAULT_LOAD_PATHS =
Loading default bower_components here, just as a little reward for using the default but you can overwrite or append any path you like
["bower_components"]
- VERSION =
"1.0.0"
Class Attribute Summary collapse
-
.load_paths ⇒ Object
Returns the value of attribute load_paths.
Class Method Summary collapse
-
.append_path(*paths) ⇒ Object
(also: append_paths)
Add one or more paths to the array, that will be given to libsass in general load paths are only required once a file is hard or impossible to reach by a relative path.
Class Attribute Details
.load_paths ⇒ Object
Returns the value of attribute load_paths.
11 12 13 |
# File 'lib/roger_sassc.rb', line 11 def load_paths @load_paths end |
Class Method Details
.append_path(*paths) ⇒ Object Also known as: append_paths
Add one or more paths to the array, that will be given to libsass in general load paths are only required once a file is hard or impossible to reach by a relative path
17 18 19 |
# File 'lib/roger_sassc.rb', line 17 def append_path(*paths) @load_paths.push(*(paths.flatten)) end |