Class: Y2Issues::InvalidValue
- Defined in:
- library/general/src/lib/y2issues/invalid_value.rb
Overview
Represents a situation where an invalid value was given
Instance Attribute Summary
Attributes inherited from Issue
#location, #message, #severity
Instance Method Summary collapse
-
#initialize(value, location:, fallback: nil, severity: :warn) ⇒ InvalidValue
constructor
A new instance of InvalidValue.
Methods inherited from Issue
Constructor Details
#initialize(value, location:, fallback: nil, severity: :warn) ⇒ InvalidValue
Returns a new instance of InvalidValue.
29 30 31 32 |
# File 'library/general/src/lib/y2issues/invalid_value.rb', line 29 def initialize(value, location:, fallback: nil, severity: :warn) textdomain "base" super((value, fallback), location: location, severity: severity) end |