Class: Ast::Merge::RejectedTieBreakCandidate

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#confidenceObject

Returns the value of attribute confidence

Returns:

  • (Object)

    the current value of confidence



654
655
656
# File 'lib/ast/merge.rb', line 654

def confidence
  @confidence
end

#from_node_idObject

Returns the value of attribute from_node_id

Returns:

  • (Object)

    the current value of from_node_id



654
655
656
# File 'lib/ast/merge.rb', line 654

def from_node_id
  @from_node_id
end

#from_pathObject

Returns the value of attribute from_path

Returns:

  • (Object)

    the current value of from_path



654
655
656
# File 'lib/ast/merge.rb', line 654

def from_path
  @from_path
end

#rejected_byObject

Returns the value of attribute rejected_by

Returns:

  • (Object)

    the current value of rejected_by



654
655
656
# File 'lib/ast/merge.rb', line 654

def rejected_by
  @rejected_by
end

Instance Method Details

#to_hObject



655
656
657
658
659
660
661
662
# File 'lib/ast/merge.rb', line 655

def to_h
  {
    from_path: from_path,
    from_node_id: from_node_id,
    confidence: confidence,
    rejected_by: rejected_by
  }
end