class Tilt::LessTemplate
Less templates do not support object scopes, locals, or yield.
/
Lessscss template implementation. See:
def allows_script?
def allows_script? false end
def evaluate(scope, locals, &block)
def evaluate(scope, locals, &block) @output ||= @engine.to_css(options) end
def prepare
def prepare if ::Less.const_defined? :Engine @engine = ::Less::Engine.new(data) else parser = ::Less::Parser.new(options.merge :filename => eval_file, :line => line) @engine = parser.parse(data) end end