Class: Juicer::JsLint::Report
- Inherits:
-
Object
- Object
- Juicer::JsLint::Report
- Defined in:
- lib/juicer/jslint.rb
Overview
Represents the results of a JsLint run
Instance Attribute Summary collapse
-
#errors ⇒ Object
Returns the value of attribute errors.
Instance Method Summary collapse
- #add_error(message, code) ⇒ Object
-
#initialize(errors = []) ⇒ Report
constructor
A new instance of Report.
- #ok? ⇒ Boolean
Constructor Details
#initialize(errors = []) ⇒ Report
Returns a new instance of Report.
61 62 63 |
# File 'lib/juicer/jslint.rb', line 61 def initialize(errors = []) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors.
59 60 61 |
# File 'lib/juicer/jslint.rb', line 59 def errors @errors end |