Class: RuboCop::Formatter::JUnitFormatter::FailureElement

Inherits:
Object
  • Object
show all
Defined in:
lib/rubocop/formatter/junit_formatter.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

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 = message
  @text = text
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



133
134
135
# File 'lib/rubocop/formatter/junit_formatter.rb', line 133

def message
  @message
end

#textObject (readonly)

Returns the value of attribute text.



133
134
135
# File 'lib/rubocop/formatter/junit_formatter.rb', line 133

def text
  @text
end

#typeObject (readonly)

Returns the value of attribute type.



133
134
135
# File 'lib/rubocop/formatter/junit_formatter.rb', line 133

def type
  @type
end