Class | Sass::Tree::RootNode |
In: |
lib/sass/tree/root_node.rb
|
Parent: | Node |
A static node that is the root node of the Sass document.
template | [R] |
The Sass template from which this node was
created
@param template [String] |
Like {Node#cssize}, except that this method will create its own `extends` map if necessary, and it returns that map along with the cssized tree.
@return [(Tree::Node, Haml::Util::SubsetMap)] The resulting tree of static nodes
*and* the extensions defined for this tree
Computes the CSS corresponding to this Sass tree.
@param args [Array] ignored @return [String] The resulting CSS @see Sass::Tree
In Ruby 1.8, ensures that there‘s only one @charset directive and that it‘s at the top of the document.
@see Node#cssize