The entry point to Less. By default Less doesn’t preserve the filename of the file being parsed, which is unpleasant for error reporting. Our monkeypatch keeps it around.
# File lib/sass/less.rb, line 346
346: def initialize_with_sass(obj, opts = {})
347: initialize_without_sass(obj, opts)
348: @filename = obj.path if obj.is_a?(File)
349: end
# File lib/sass/less.rb, line 353
353: def parse_with_sass
354: parse_without_sass
355: rescue Sass::SyntaxError => e
356: e.modify_backtrace(:filename => @filename)
357: raise e
358: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.