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.

Methods

Attributes

template  [R]  The Sass template from which this node was created

@param template [String]

Public Class methods

@param template [String] The Sass template from which this node was created

Public Instance methods

Runs the dynamic Sass code and computes the CSS for the tree.

@return [String] The compiled CSS.

Runs the dynamic Sass code and computes the CSS for the tree, along with the sourcemap.

@return [(String, Sass::Source::Map)] The compiled CSS, as well as

  the source map. @see #render

[Validate]