class Sass::Tree::RuleNode
def to_scss(tabs, opts = {})
- See: Node#to_scss -
def to_scss(tabs, opts = {}) name = selector_to_scss(rule, tabs, opts) res = name + children_to_src(tabs, opts, :scss) if children.last.is_a?(CommentNode) && children.last.silent res.slice!(-3..-1) res << "\n" << (' ' * tabs) << "}\n" end res end