class Less::Parser::Tree
Abstract LessCSS syntax tree Less. Mainly used to emit CSS
def initialize(tree)
-
tree
(V8::Object
) -- the native less.js tree
def initialize(tree) @tree = tree end
def to_css(options = {})
(**opts)
-
:compress
(Boolean
) -- minify output instead of pretty-printing
Parameters:
-
opts
(Hash
) -- modifications to the output
def to_css(options = {}) Less::JavaScript.exec { @tree.toCSS(options) } end