| 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 103
103: def render
104: begin
105: build_tree.to_sass
106: rescue Exception => err
107: line = @template.string[0...@template.pos].split("\n").size
108:
109: err.backtrace.unshift "(css):#{line}"
110: raise err
111: end
112: end