Class: Factorix::Dependency::ValidationResult::Warning
- Inherits:
-
Data
- Object
- Data
- Factorix::Dependency::ValidationResult::Warning
- Defined in:
- lib/factorix/dependency/validation_result.rb,
lib/factorix/dependency/validation_result.rb,
sig/factorix/dependency/validation_result.rbs
Overview
Validation warning information
Represents a warning found during dependency validation.
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
Returns the value of attribute message.
-
#mod ⇒ Object
readonly
Returns the value of attribute mod.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize ⇒ Warning
constructor
A new instance of Warning.
Constructor Details
#initialize ⇒ Warning
Returns a new instance of Warning.
22 |
# File 'sig/factorix/dependency/validation_result.rbs', line 22
def initialize: (type: Symbol, message: String, ?mod: MOD?) -> void
|
Instance Attribute Details
#message ⇒ Object (readonly)
Returns the value of attribute message
25 26 27 |
# File 'lib/factorix/dependency/validation_result.rb', line 25 def @message end |
#mod ⇒ Object (readonly)
Returns the value of attribute mod
25 26 27 |
# File 'lib/factorix/dependency/validation_result.rb', line 25 def mod @mod end |
#type ⇒ Object (readonly)
Returns the value of attribute type
25 26 27 |
# File 'lib/factorix/dependency/validation_result.rb', line 25 def type @type end |