Class: Ast::Merge::MergeIRComparisonCase
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::MergeIRComparisonCase
- Defined in:
- lib/ast/merge.rb
Instance Attribute Summary collapse
-
#case_id ⇒ Object
Returns the value of attribute case_id.
-
#diagnostics ⇒ Object
Returns the value of attribute diagnostics.
-
#family ⇒ Object
Returns the value of attribute family.
-
#merge_ir_advantage ⇒ Object
Returns the value of attribute merge_ir_advantage.
-
#merge_ir_outcome ⇒ Object
Returns the value of attribute merge_ir_outcome.
-
#owner_path_outcome ⇒ Object
Returns the value of attribute owner_path_outcome.
-
#scenario ⇒ Object
Returns the value of attribute scenario.
Instance Method Summary collapse
Instance Attribute Details
#case_id ⇒ Object
Returns the value of attribute case_id
374 375 376 |
# File 'lib/ast/merge.rb', line 374 def case_id @case_id end |
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
374 375 376 |
# File 'lib/ast/merge.rb', line 374 def diagnostics @diagnostics end |
#family ⇒ Object
Returns the value of attribute family
374 375 376 |
# File 'lib/ast/merge.rb', line 374 def family @family end |
#merge_ir_advantage ⇒ Object
Returns the value of attribute merge_ir_advantage
374 375 376 |
# File 'lib/ast/merge.rb', line 374 def merge_ir_advantage @merge_ir_advantage end |
#merge_ir_outcome ⇒ Object
Returns the value of attribute merge_ir_outcome
374 375 376 |
# File 'lib/ast/merge.rb', line 374 def merge_ir_outcome @merge_ir_outcome end |
#owner_path_outcome ⇒ Object
Returns the value of attribute owner_path_outcome
374 375 376 |
# File 'lib/ast/merge.rb', line 374 def owner_path_outcome @owner_path_outcome end |
#scenario ⇒ Object
Returns the value of attribute scenario
374 375 376 |
# File 'lib/ast/merge.rb', line 374 def scenario @scenario end |
Instance Method Details
#to_h ⇒ Object
376 377 378 379 380 381 382 383 384 385 386 |
# File 'lib/ast/merge.rb', line 376 def to_h { case_id: case_id, family: family, scenario: scenario, owner_path_outcome: owner_path_outcome, merge_ir_outcome: merge_ir_outcome, merge_ir_advantage: merge_ir_advantage, diagnostics: diagnostics || [] } end |