Class: Mxrb::Compiler::CompatibilityFinding

Inherits:
Data
  • Object
show all
Defined in:
lib/mxrb/compiler/compatibility_analyzer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#categoryObject (readonly)

Returns the value of attribute category

Returns:

  • (Object)

    the current value of category



5
6
7
# File 'lib/mxrb/compiler/compatibility_analyzer.rb', line 5

def category
  @category
end

#countObject (readonly)

Returns the value of attribute count

Returns:

  • (Object)

    the current value of count



5
6
7
# File 'lib/mxrb/compiler/compatibility_analyzer.rb', line 5

def count
  @count
end

#locationObject (readonly)

Returns the value of attribute location

Returns:

  • (Object)

    the current value of location



5
6
7
# File 'lib/mxrb/compiler/compatibility_analyzer.rb', line 5

def location
  @location
end

#messageObject (readonly)

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



5
6
7
# File 'lib/mxrb/compiler/compatibility_analyzer.rb', line 5

def message
  @message
end

#severityObject (readonly)

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



5
6
7
# File 'lib/mxrb/compiler/compatibility_analyzer.rb', line 5

def severity
  @severity
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



5
6
7
# File 'lib/mxrb/compiler/compatibility_analyzer.rb', line 5

def type
  @type
end

Instance Method Details

#to_hObject



6
# File 'lib/mxrb/compiler/compatibility_analyzer.rb', line 6

def to_h = { severity:, category:, type:, location:, message:, count: }