Class | Sass::Tree::Visitors::Convert |
In: |
lib/sass/tree/visitors/convert.rb
|
Parent: | Sass::Tree::Visitors::Base |
A visitor for converting a Sass tree into a source string.
Runs the visitor on a tree.
@param root [Tree::Node] The root node of the Sass tree. @param options [{Symbol => Object}] An options hash (see {Sass::CSS#initialize}). @param format [Symbol] `:sass` or `:scss`. @return [String] The Sass or SCSS source for the tree.