Class: Ast::Merge::MergeIRComparisonSummary

Inherits:
Struct
  • Object
show all
Defined in:
lib/ast/merge.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#deferObject

Returns the value of attribute defer

Returns:

  • (Object)

    the current value of defer



411
412
413
# File 'lib/ast/merge.rb', line 411

def defer
  @defer
end

#merge_ir_winsObject

Returns the value of attribute merge_ir_wins

Returns:

  • (Object)

    the current value of merge_ir_wins



411
412
413
# File 'lib/ast/merge.rb', line 411

def merge_ir_wins
  @merge_ir_wins
end

#neutralObject

Returns the value of attribute neutral

Returns:

  • (Object)

    the current value of neutral



411
412
413
# File 'lib/ast/merge.rb', line 411

def neutral
  @neutral
end

#owner_path_winsObject

Returns the value of attribute owner_path_wins

Returns:

  • (Object)

    the current value of owner_path_wins



411
412
413
# File 'lib/ast/merge.rb', line 411

def owner_path_wins
  @owner_path_wins
end

#recommendationObject

Returns the value of attribute recommendation

Returns:

  • (Object)

    the current value of recommendation



411
412
413
# File 'lib/ast/merge.rb', line 411

def recommendation
  @recommendation
end

Instance Method Details

#to_hObject



413
414
415
416
417
418
419
420
421
# File 'lib/ast/merge.rb', line 413

def to_h
  {
    owner_path_wins: owner_path_wins,
    merge_ir_wins: merge_ir_wins,
    neutral: neutral,
    defer: defer,
    recommendation: recommendation
  }
end