Class | Tilt::SassTemplate |
In: |
lib/tilt/css.rb
|
Parent: | Template |
Sass template implementation. See: haml.hamptoncatlin.com/
Sass templates do not support object scopes, locals, or yield.
# File lib/tilt/css.rb, line 11 11: def self.engine_initialized? 12: defined? ::Sass::Engine 13: end
# File lib/tilt/css.rb, line 23 23: def evaluate(scope, locals, &block) 24: @output ||= @engine.render 25: end