class Sass::Tree::CharsetNode

@see Sass::Tree
A static node representing an unproccessed Sass ‘@charset` directive.

def _to_s(tabs)

Returns:
  • (String) - The resulting CSS

Parameters:
  • tabs (Fixnum) -- The level of indentation for the CSS
def _to_s(tabs)
  "@charset \"#{name}\";"
end

def initialize(name)

Parameters:
  • name (String) -- see \{#name}
def initialize(name)
  @name = name
  super()
end

def invisible?

Other tags:
    See: Node#invisible? -
def invisible?
  !Haml::Util.ruby1_8?
end

def to_src(tabs, opts, fmt)

Other tags:
    See: Node#to_src -
def to_src(tabs, opts, fmt)
  "#{'  ' * tabs}@charset \"#{name}\"#{semi fmt}\n"
end