Class: CheckstyleReport::CheckstyleFile
- Inherits:
-
Object
- Object
- CheckstyleReport::CheckstyleFile
- Defined in:
- lib/checkstyle_report/checkstyle_report.rb
Overview
File representation for Checkstyle format
Instance Attribute Summary collapse
-
#errors ⇒ Object
readonly
Returns the value of attribute errors.
-
#file ⇒ Object
readonly
Returns the value of attribute file.
Instance Method Summary collapse
-
#initialize(file, errors) ⇒ CheckstyleFile
constructor
A new instance of CheckstyleFile.
Constructor Details
#initialize(file, errors) ⇒ CheckstyleFile
Returns a new instance of CheckstyleFile.
73 74 75 76 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 73 def initialize(file, errors) @file = file @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
78 79 80 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 78 def errors @errors end |
#file ⇒ Object (readonly)
Returns the value of attribute file.
78 79 80 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 78 def file @file end |