Class: CheckstyleReports::Severity
- Inherits:
-
Object
- Object
- CheckstyleReports::Severity
- Defined in:
- lib/checkstyle_reports/lib/severity.rb
Constant Summary collapse
- VALUES =
%i(ignore info warning error).freeze
Instance Method Summary collapse
- #<=(other) ⇒ Object
-
#initialize(base) ⇒ Severity
constructor
A new instance of Severity.
Constructor Details
#initialize(base) ⇒ Severity
Returns a new instance of Severity.
7 8 9 |
# File 'lib/checkstyle_reports/lib/severity.rb', line 7 def initialize(base) @base = base&.to_sym end |