Class: PmdTester::RuleInfo
- Inherits:
-
Object
- Object
- PmdTester::RuleInfo
- Defined in:
- lib/pmdtester/report_diff.rb
Overview
Simple info about a rule, collected by the report xml parser
Instance Attribute Summary collapse
-
#info_url ⇒ Object
readonly
Returns the value of attribute info_url.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, info_url) ⇒ RuleInfo
constructor
A new instance of RuleInfo.
Constructor Details
#initialize(name, info_url) ⇒ RuleInfo
Returns a new instance of RuleInfo.
46 47 48 49 |
# File 'lib/pmdtester/report_diff.rb', line 46 def initialize(name, info_url) @name = name @info_url = info_url end |
Instance Attribute Details
#info_url ⇒ Object (readonly)
Returns the value of attribute info_url.
44 45 46 |
# File 'lib/pmdtester/report_diff.rb', line 44 def info_url @info_url end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
44 45 46 |
# File 'lib/pmdtester/report_diff.rb', line 44 def name @name end |