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
336 337 338 |
# File 'lib/ast/merge.rb', line 336 def category @category end |
#change_ids ⇒ Object
Returns the value of attribute change_ids
336 337 338 |
# File 'lib/ast/merge.rb', line 336 def change_ids @change_ids end |
#class_ids ⇒ Object
Returns the value of attribute class_ids
336 337 338 |
# File 'lib/ast/merge.rb', line 336 def class_ids @class_ids end |
#inconsistency_id ⇒ Object
Returns the value of attribute inconsistency_id
336 337 338 |
# File 'lib/ast/merge.rb', line 336 def inconsistency_id @inconsistency_id end |
#message ⇒ Object
Returns the value of attribute message
336 337 338 |
# File 'lib/ast/merge.rb', line 336 def @message end |
#severity ⇒ Object
Returns the value of attribute severity
336 337 338 |
# File 'lib/ast/merge.rb', line 336 def severity @severity end |
Instance Method Details
#to_h ⇒ Object
338 339 340 341 342 343 344 345 346 347 |
# File 'lib/ast/merge.rb', line 338 def to_h { inconsistency_id: inconsistency_id, category: category, severity: severity, class_ids: class_ids || [], change_ids: change_ids || [], message: } end |