Class: Ast::Merge::MergeInconsistency
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::MergeInconsistency
- Defined in:
- lib/ast/merge.rb
Instance Attribute Summary collapse
-
#category ⇒ Object
Returns the value of attribute category.
-
#change_ids ⇒ Object
Returns the value of attribute change_ids.
-
#class_ids ⇒ Object
Returns the value of attribute class_ids.
-
#inconsistency_id ⇒ Object
Returns the value of attribute inconsistency_id.
-
#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
358 359 360 |
# File 'lib/ast/merge.rb', line 358 def category @category end |
#change_ids ⇒ Object
Returns the value of attribute change_ids
358 359 360 |
# File 'lib/ast/merge.rb', line 358 def change_ids @change_ids end |
#class_ids ⇒ Object
Returns the value of attribute class_ids
358 359 360 |
# File 'lib/ast/merge.rb', line 358 def class_ids @class_ids end |
#inconsistency_id ⇒ Object
Returns the value of attribute inconsistency_id
358 359 360 |
# File 'lib/ast/merge.rb', line 358 def inconsistency_id @inconsistency_id end |
#message ⇒ Object
Returns the value of attribute message
358 359 360 |
# File 'lib/ast/merge.rb', line 358 def @message end |
#severity ⇒ Object
Returns the value of attribute severity
358 359 360 |
# File 'lib/ast/merge.rb', line 358 def severity @severity end |
Instance Method Details
#to_h ⇒ Object
360 361 362 363 364 365 366 367 368 369 |
# File 'lib/ast/merge.rb', line 360 def to_h { inconsistency_id: inconsistency_id, category: category, severity: severity, class_ids: class_ids || [], change_ids: change_ids || [], message: } end |