Class: TreeHaver::ProcessDiagnostic
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::ProcessDiagnostic
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#severity ⇒ Object
Returns the value of attribute severity.
Instance Method Summary collapse
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message
374 375 376 |
# File 'lib/tree_haver/contracts.rb', line 374 def @message end |
#severity ⇒ Object
Returns the value of attribute severity
374 375 376 |
# File 'lib/tree_haver/contracts.rb', line 374 def severity @severity end |
Instance Method Details
#to_h ⇒ Object
375 376 377 378 379 380 |
# File 'lib/tree_haver/contracts.rb', line 375 def to_h { message: , severity: severity } end |