Class: Slidict::Lint::Finding

Inherits:
Struct
  • Object
show all
Defined in:
lib/slidict/lint/finding.rb

Overview

A single diagnostic produced by the linter: which slide it concerns, how severe it is ("warning" blocks understanding, "info" is a suggestion), and the human-readable message to show the user.

Instance Attribute Summary collapse

Instance Attribute Details

#messageObject

Returns the value of attribute message

Returns:

  • (Object)

    the current value of message



8
9
10
# File 'lib/slidict/lint/finding.rb', line 8

def message
  @message
end

#severityObject

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



8
9
10
# File 'lib/slidict/lint/finding.rb', line 8

def severity
  @severity
end

#slideObject

Returns the value of attribute slide

Returns:

  • (Object)

    the current value of slide



8
9
10
# File 'lib/slidict/lint/finding.rb', line 8

def slide
  @slide
end