class Sass::CSS

def initialize(template, options = {})

Options Hash: (**options)
  • :indent (String) --
  • :old (Boolean) --

Parameters:
  • template (String) -- The CSS stylesheet.
def initialize(template, options = {})
  if template.is_a? IO
    template = template.read
  end
  @options = options.dup
  # Backwards compatibility
  @options[:old] = true if @options[:alternate] == false
  @template = template
end