Class: Canvas::Validator::Sass
- Inherits:
-
Object
- Object
- Canvas::Validator::Sass
- Defined in:
- lib/canvas/validators/sass.rb
Overview
:documented:
This validator can be used to validate Sass.
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
Instance Method Summary collapse
-
#initialize(file) ⇒ Sass
constructor
A new instance of Sass.
- #validate ⇒ Object
Constructor Details
#initialize(file) ⇒ Sass
Returns a new instance of Sass.
13 14 15 |
# File 'lib/canvas/validators/sass.rb', line 13 def initialize(file) @file = file end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
11 12 13 |
# File 'lib/canvas/validators/sass.rb', line 11 def errors @errors end |