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
396 397 398 |
# File 'lib/ast/merge.rb', line 396 def case_id @case_id end |
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
396 397 398 |
# File 'lib/ast/merge.rb', line 396 def diagnostics @diagnostics end |
#family ⇒ Object
Returns the value of attribute family
396 397 398 |
# File 'lib/ast/merge.rb', line 396 def family @family end |
#merge_ir_advantage ⇒ Object
Returns the value of attribute merge_ir_advantage
396 397 398 |
# File 'lib/ast/merge.rb', line 396 def merge_ir_advantage @merge_ir_advantage end |
#merge_ir_outcome ⇒ Object
Returns the value of attribute merge_ir_outcome
396 397 398 |
# File 'lib/ast/merge.rb', line 396 def merge_ir_outcome @merge_ir_outcome end |
#owner_path_outcome ⇒ Object
Returns the value of attribute owner_path_outcome
396 397 398 |
# File 'lib/ast/merge.rb', line 396 def owner_path_outcome @owner_path_outcome end |
#scenario ⇒ Object
Returns the value of attribute scenario
396 397 398 |
# File 'lib/ast/merge.rb', line 396 def scenario @scenario end |
Instance Method Details
#to_h ⇒ Object
398 399 400 401 402 403 404 405 406 407 408 |
# File 'lib/ast/merge.rb', line 398 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 |