class Tilt::SassTemplate
Sass templates do not support object scopes, locals, or yield.
/
Sass template implementation. See:
def evaluate(scope, locals, &block)
def evaluate(scope, locals, &block) @output ||= @engine.render end
def initialize_engine
def initialize_engine return if defined? ::Sass::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