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.
56 57 58 59 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 56 def initialize(file, errors) @file = file @errors = errors end |
Instance Attribute Details
#errors ⇒ Object (readonly)
Returns the value of attribute errors.
61 62 63 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 61 def errors @errors end |
#file ⇒ Object (readonly)
Returns the value of attribute file.
61 62 63 |
# File 'lib/checkstyle_report/checkstyle_report.rb', line 61 def file @file end |