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.
152 153 154 155 156 |
# File 'lib/rubocop/formatter/junit_formatter.rb', line 152 def initialize(type:, message:, text:) @type = type @message = @text = text end |
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message.
150 151 152 |
# File 'lib/rubocop/formatter/junit_formatter.rb', line 150 def @message end |
#text ⇒ Object (readonly)
Returns the value of attribute text.
150 151 152 |
# File 'lib/rubocop/formatter/junit_formatter.rb', line 150 def text @text end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
150 151 152 |
# File 'lib/rubocop/formatter/junit_formatter.rb', line 150 def type @type end |