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.
73 74 75 |
# File 'lib/juicer/jslint.rb', line 73 def initialize(errors = []) @errors = errors end |
Instance Attribute Details
#errors ⇒ Object
Returns the value of attribute errors.
71 72 73 |
# File 'lib/juicer/jslint.rb', line 71 def errors @errors end |