enum

Krikri::Lint::Severity

Inherits Enum < Comparable < Value < Object

Constants

VERY_LOW = 0
LOW = 1
MEDIUM = 2
HIGH = 3
VERY_HIGH = 4

Class methods

parse_lint(value : String) : Severity | Nil
Source

Instance methods

high?

Returns true if this enum value equals HIGH

Source
low?

Returns true if this enum value equals LOW

Source
medium?

Returns true if this enum value equals MEDIUM

Source
very_high?

Returns true if this enum value equals VERY_HIGH

Source
very_low?

Returns true if this enum value equals VERY_LOW

Source