Class: RuboCop::Formatter::JUnitFormatter::FailureElement
- Inherits:
-
Object
- Object
- RuboCop::Formatter::JUnitFormatter::FailureElement
- Defined in:
- lib/rubocop/formatter/junit_formatter.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type:, message:, text:) ⇒ FailureElement
constructor
A new instance of FailureElement.
Constructor Details
#initialize(type:, message:, text:) ⇒ FailureElement
Returns a new instance of FailureElement.
135 136 137 138 139 |
# File 'lib/rubocop/formatter/junit_formatter.rb', line 135 def initialize(type:, message:, text:) @type = type @message = @text = text end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
133 134 135 |
# File 'lib/rubocop/formatter/junit_formatter.rb', line 133 def @message end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
133 134 135 |
# File 'lib/rubocop/formatter/junit_formatter.rb', line 133 def text @text end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
133 134 135 |
# File 'lib/rubocop/formatter/junit_formatter.rb', line 133 def type @type end |