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



389
390
391
# File 'lib/ast/merge.rb', line 389

def defer
  @defer
end

#merge_ir_winsObject

Returns the value of attribute merge_ir_wins

Returns:

  • (Object)

    the current value of merge_ir_wins



389
390
391
# File 'lib/ast/merge.rb', line 389

def merge_ir_wins
  @merge_ir_wins
end

#neutralObject

Returns the value of attribute neutral

Returns:

  • (Object)

    the current value of neutral



389
390
391
# File 'lib/ast/merge.rb', line 389

def neutral
  @neutral
end

#owner_path_winsObject

Returns the value of attribute owner_path_wins

Returns:

  • (Object)

    the current value of owner_path_wins



389
390
391
# File 'lib/ast/merge.rb', line 389

def owner_path_wins
  @owner_path_wins
end

#recommendationObject

Returns the value of attribute recommendation

Returns:

  • (Object)

    the current value of recommendation



389
390
391
# File 'lib/ast/merge.rb', line 389

def recommendation
  @recommendation
end

Instance Method Details

#to_hObject



391
392
393
394
395
396
397
398
399
# File 'lib/ast/merge.rb', line 391

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