class Sass::Tree::Node
def selector_to_src(sel, tabs, opts, fmt)
-
(String)
- The Sass or SCSS code corresponding to the selector
Parameters:
-
fmt
(Symbol
) -- `:sass` or `:scss` -
opts
({Symbol => Object}
) -- An options hash (see {Sass::CSS#initialize}) -
tabs
(Fixnum
) -- The indentation of the selector -
sel
(Array
) -- The selector to convert
def selector_to_src(sel, tabs, opts, fmt) fmt == :sass ? selector_to_sass(sel, opts) : selector_to_scss(sel, tabs, opts) end