Tilt::LessTemplate
# File lib/less/rails/template_handlers.rb, line 14 def evaluate(scope, locals, &block) @output ||= begin Less.Parser['scope'] = scope parser = ::Less::Parser.new config_to_less_parser_options(scope) engine = parser.parse(data) engine.to_css config_to_css_options(scope) end end
# File lib/less/rails/template_handlers.rb, line 38 def config_from_rails(scope) scope.environment.context_class.less_config end
# File lib/less/rails/template_handlers.rb, line 34 def config_paths(scope) config_from_rails(scope)[:paths] end
Generated with the Darkfish Rdoc Generator 2.