Class: Ast::Merge::ClassMappingDiagnostic
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::ClassMappingDiagnostic
- Defined in:
- lib/ast/merge.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#class_id ⇒ Object
Returns the value of attribute class_id.
-
#matching_ids ⇒ Object
Returns the value of attribute matching_ids.
-
#message ⇒ Object
Returns the value of attribute message.
-
#severity ⇒ Object
Returns the value of attribute severity.
Instance Method Summary collapse
Instance Attribute Details
#category ⇒ Object
Returns the value of attribute category
233 234 235 |
# File 'lib/ast/merge.rb', line 233 def category @category end |
#class_id ⇒ Object
Returns the value of attribute class_id
233 234 235 |
# File 'lib/ast/merge.rb', line 233 def class_id @class_id end |
#matching_ids ⇒ Object
Returns the value of attribute matching_ids
233 234 235 |
# File 'lib/ast/merge.rb', line 233 def matching_ids @matching_ids end |
#message ⇒ Object
Returns the value of attribute message
233 234 235 |
# File 'lib/ast/merge.rb', line 233 def @message end |
#severity ⇒ Object
Returns the value of attribute severity
233 234 235 |
# File 'lib/ast/merge.rb', line 233 def severity @severity end |
Instance Method Details
#to_h ⇒ Object
234 235 236 237 238 239 240 241 242 |
# File 'lib/ast/merge.rb', line 234 def to_h { severity: severity, category: category, class_id: class_id, message: , matching_ids: matching_ids || [] } end |