Class: RuboCop::Formatter::JUnitFormatter::TestCaseElement
- Inherits:
-
Object
- Object
- RuboCop::Formatter::JUnitFormatter::TestCaseElement
- Defined in:
- lib/rubocop/formatter/junit_formatter.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#classname ⇒ Object
readonly
Returns the value of attribute classname.
-
#failures ⇒ Object
readonly
Returns the value of attribute failures.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(classname:, name:) ⇒ TestCaseElement
constructor
A new instance of TestCaseElement.
Constructor Details
#initialize(classname:, name:) ⇒ TestCaseElement
Returns a new instance of TestCaseElement.
125 126 127 128 129 |
# File 'lib/rubocop/formatter/junit_formatter.rb', line 125 def initialize(classname:, name:) @classname = classname @name = name @failures = [] end |
Instance Attribute Details
#classname ⇒ Object (readonly)
Returns the value of attribute classname.
123 124 125 |
# File 'lib/rubocop/formatter/junit_formatter.rb', line 123 def classname @classname end |
#failures ⇒ Object (readonly)
Returns the value of attribute failures.
123 124 125 |
# File 'lib/rubocop/formatter/junit_formatter.rb', line 123 def failures @failures end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
123 124 125 |
# File 'lib/rubocop/formatter/junit_formatter.rb', line 123 def name @name end |