Class: Compass::Compiler
- Inherits:
-
Object
- Object
- Compass::Compiler
- Defined in:
- lib/guard/compass.rb
Instance Method Summary collapse
Instance Method Details
#handle_exception(sass_filename, css_filename, e) ⇒ Object
15 16 17 18 19 |
# File 'lib/guard/compass.rb', line 15 def handle_exception(sass_filename, css_filename, e) old_handle_exception(sass_filename, css_filename, e) # rethrow the exception, we need it to notificate the user! raise Sass::SyntaxError, "[#{File.basename(sass_filename)}:#{e.sass_line}] #{e.}" end |
#old_handle_exception ⇒ Object
14 |
# File 'lib/guard/compass.rb', line 14 alias :old_handle_exception :handle_exception |