class Sass::Engine
def initialize(template, options={})
-
options
(Hash
) -- An options hash; -
template
(String
) -- The Sass template.
def initialize(template, options={}) @options = DEFAULT_OPTIONS.merge(options) @template = template # Backwards compatibility @options[:property_syntax] ||= @options[:attribute_syntax] case @options[:property_syntax] when :alternate; @options[:property_syntax] = :new when :normal; @options[:property_syntax] = :old end end