Class: SassC::Engine

Inherits:
Object
  • Object
show all
Defined in:
lib/sassc/engine.rb

Instance Method Summary collapse

Constructor Details

#initialize(template, options = {}) ⇒ Engine

Returns a new instance of Engine.



3
4
5
6
# File 'lib/sassc/engine.rb', line 3

def initialize(template, options = {})
  #@options = self.class.normalize_options(options)
  @template = template
end

Instance Method Details

#renderObject



8
9
10
11
# File 'lib/sassc/engine.rb', line 8

def render
  return _to_tree.render unless @options[:quiet]
  Sass::Util.silence_sass_warnings {_to_tree.render}
end