Class | Sass::CSS |
In: |
lib/sass/css.rb
|
Parent: | Object |
Processes the document and returns the result as a string containing the CSS template.
# File lib/sass/css.rb, line 71 71: def render 72: begin 73: build_tree.to_sass 74: rescue Exception => err 75: line = @template.string[0...@template.pos].split("\n").size 76: 77: err.backtrace.unshift "(css):#{line}" 78: raise err 79: end 80: end