class Sass::Tree::CharsetNode
@see Sass::Tree
A static node representing an unproccessed Sass ‘@charset` directive.
def _to_s(tabs)
-
(String)
- The resulting CSS
Parameters:
-
tabs
(Fixnum
) -- The level of indentation for the CSS
def _to_s(tabs) "@charset \"#{name}\";" end
def initialize(name)
-
name
(String
) -- see \{#name}
def initialize(name) @name = name super() end
def invisible?
- See: Node#invisible? -
def invisible? !Haml::Util.ruby1_8? end
def to_src(tabs, opts, fmt)
- See: Node#to_src -
def to_src(tabs, opts, fmt) "#{' ' * tabs}@charset \"#{name}\"#{semi fmt}\n" end