Class: Ast::Merge::InconsistencyReport
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::InconsistencyReport
- Defined in:
- lib/ast/merge.rb
Instance Attribute Summary collapse
-
#diagnostics ⇒ Object
Returns the value of attribute diagnostics.
-
#inconsistencies ⇒ Object
Returns the value of attribute inconsistencies.
-
#raw_merge_id ⇒ Object
Returns the value of attribute raw_merge_id.
-
#report_id ⇒ Object
Returns the value of attribute report_id.
Instance Method Summary collapse
Instance Attribute Details
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
350 351 352 |
# File 'lib/ast/merge.rb', line 350 def diagnostics @diagnostics end |
#inconsistencies ⇒ Object
Returns the value of attribute inconsistencies
350 351 352 |
# File 'lib/ast/merge.rb', line 350 def inconsistencies @inconsistencies end |
#raw_merge_id ⇒ Object
Returns the value of attribute raw_merge_id
350 351 352 |
# File 'lib/ast/merge.rb', line 350 def raw_merge_id @raw_merge_id end |
#report_id ⇒ Object
Returns the value of attribute report_id
350 351 352 |
# File 'lib/ast/merge.rb', line 350 def report_id @report_id end |
Instance Method Details
#to_h ⇒ Object
351 352 353 354 355 356 357 358 |
# File 'lib/ast/merge.rb', line 351 def to_h { report_id: report_id, raw_merge_id: raw_merge_id, inconsistencies: (inconsistencies || []).map(&:to_h), diagnostics: diagnostics || [] } end |