public class Sass extends JRubyTransformer<Sass>
Transformer that translates SASS files into CSS.| Modifier | Constructor and Description |
|---|---|
protected |
Sass() |
| Modifier and Type | Method and Description |
|---|---|
static Sass |
compiler()
Create a
Transformer that compiles SASS files into CSS. |
List<String> |
getLoadPaths()
Return the load paths to use for
ScriptingContainer.setLoadPaths(List). |
protected Class<Sass> |
getTransformerType() |
protected void |
prepareContainer(org.jruby.embed.ScriptingContainer container) |
Object |
runScript(org.jruby.embed.ScriptingContainer container)
This method must perform the transformation using the supplied
ScriptingContainer. |
Sass |
self()
Just returns the current object as the correct type for make the fluent builder work with subclasses.
|
compatVersion, compileMode, transformtransformpublic static Sass compiler()
Transformer that compiles SASS files into CSS.public List<String> getLoadPaths()
JRubyTransformerScriptingContainer.setLoadPaths(List).getLoadPaths in class JRubyTransformer<Sass>public Object runScript(org.jruby.embed.ScriptingContainer container)
JRubyTransformerScriptingContainer. The container is pre
initialized with a variable input which should be used by the script to perform the transformation.runScript in class JRubyTransformer<Sass>public Sass self()
JRubyTransformerself in class JRubyTransformer<Sass>protected void prepareContainer(org.jruby.embed.ScriptingContainer container)
prepareContainer in class JRubyTransformer<Sass>protected Class<Sass> getTransformerType()
getTransformerType in class JRubyTransformer<Sass>Copyright © 2015 OCPsoft. All Rights Reserved.