class Tilt::SassTemplate
Sass templates do not support object scopes, locals, or yield.
/
Sass template implementation. See:
def self.engine_initialized?
def self.engine_initialized? defined? ::Sass::Engine end
def evaluate(scope, locals, &block)
def evaluate(scope, locals, &block) @output ||= @engine.render end
def initialize_engine
def initialize_engine require_template_library 'sass' end
def prepare
def prepare @engine = ::Sass::Engine.new(data, sass_options) end
def sass_options
def sass_options options.merge(:filename => eval_file, :line => line, :syntax => :sass) end