Class: Ast::Merge::MatchingDebugArtifacts
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::MatchingDebugArtifacts
- Defined in:
- lib/ast/merge.rb
Instance Attribute Summary collapse
-
#artifact_id ⇒ Object
Returns the value of attribute artifact_id.
-
#candidates ⇒ Object
Returns the value of attribute candidates.
-
#diagnostics ⇒ Object
Returns the value of attribute diagnostics.
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#matching_id ⇒ Object
Returns the value of attribute matching_id.
-
#owner_sets ⇒ Object
Returns the value of attribute owner_sets.
-
#rejected_matches ⇒ Object
Returns the value of attribute rejected_matches.
-
#selected_matches ⇒ Object
Returns the value of attribute selected_matches.
Instance Method Summary collapse
Instance Attribute Details
#artifact_id ⇒ Object
Returns the value of attribute artifact_id
724 725 726 |
# File 'lib/ast/merge.rb', line 724 def artifact_id @artifact_id end |
#candidates ⇒ Object
Returns the value of attribute candidates
724 725 726 |
# File 'lib/ast/merge.rb', line 724 def candidates @candidates end |
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
724 725 726 |
# File 'lib/ast/merge.rb', line 724 def diagnostics @diagnostics end |
#enabled ⇒ Object
Returns the value of attribute enabled
724 725 726 |
# File 'lib/ast/merge.rb', line 724 def enabled @enabled end |
#matching_id ⇒ Object
Returns the value of attribute matching_id
724 725 726 |
# File 'lib/ast/merge.rb', line 724 def matching_id @matching_id end |
#owner_sets ⇒ Object
Returns the value of attribute owner_sets
724 725 726 |
# File 'lib/ast/merge.rb', line 724 def owner_sets @owner_sets end |
#rejected_matches ⇒ Object
Returns the value of attribute rejected_matches
724 725 726 |
# File 'lib/ast/merge.rb', line 724 def rejected_matches @rejected_matches end |
#selected_matches ⇒ Object
Returns the value of attribute selected_matches
724 725 726 |
# File 'lib/ast/merge.rb', line 724 def selected_matches @selected_matches end |
Instance Method Details
#to_h ⇒ Object
726 727 728 729 730 731 732 733 734 735 736 737 |
# File 'lib/ast/merge.rb', line 726 def to_h { artifact_id: artifact_id, matching_id: matching_id, enabled: enabled, owner_sets: (owner_sets || []).map(&:to_h), candidates: (candidates || []).map(&:to_h), selected_matches: (selected_matches || []).map(&:to_h), rejected_matches: (rejected_matches || []).map(&:to_h), diagnostics: diagnostics || [] } end |