Class RubySassEngine
java.lang.Object
ro.isdc.wro.extensions.processor.support.sass.RubySassEngine
A Sass processor using ruby gems.
- Since:
- 1.4.4
- Author:
- Dmitry Erman
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRequire(String require) Adds a ruby require to the ruby script to be run by this RubySassEngine.Transforms a sass content into css using Sass ruby engine.
-
Constructor Details
-
RubySassEngine
public RubySassEngine()
-
-
Method Details
-
addRequire
Adds a ruby require to the ruby script to be run by this RubySassEngine. It's safe to add the same require twice.- Parameters:
require- The name of the require, e.g. bourbon
-
process
Transforms a sass content into css using Sass ruby engine. This method is synchronized because the engine itself is not thread-safe.- Parameters:
content- the Sass content to process.
-