Class: PmdTester::RuleInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/pmdtester/report_diff.rb

Overview

Simple info about a rule, collected by the report xml parser

Instance Attribute Summary collapse

Instance Method Summary collapse

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_urlObject (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

#nameObject (readonly)

Returns the value of attribute name.



44
45
46
# File 'lib/pmdtester/report_diff.rb', line 44

def name
  @name
end