Class: Ast::Merge::SignatureMatchingReport
- Inherits:
-
Struct
- Object
- Struct
- Ast::Merge::SignatureMatchingReport
- Defined in:
- lib/ast/merge.rb
Instance Attribute Summary collapse
-
#diagnostics ⇒ Object
Returns the value of attribute diagnostics.
-
#from_revision ⇒ Object
Returns the value of attribute from_revision.
-
#matches ⇒ Object
Returns the value of attribute matches.
-
#matching_id ⇒ Object
Returns the value of attribute matching_id.
-
#parent_policy ⇒ Object
Returns the value of attribute parent_policy.
-
#signature_components ⇒ Object
Returns the value of attribute signature_components.
-
#strategy ⇒ Object
Returns the value of attribute strategy.
-
#to_revision ⇒ Object
Returns the value of attribute to_revision.
-
#unmatched_from ⇒ Object
Returns the value of attribute unmatched_from.
-
#unmatched_to ⇒ Object
Returns the value of attribute unmatched_to.
Instance Method Summary collapse
Instance Attribute Details
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
473 474 475 |
# File 'lib/ast/merge.rb', line 473 def diagnostics @diagnostics end |
#from_revision ⇒ Object
Returns the value of attribute from_revision
473 474 475 |
# File 'lib/ast/merge.rb', line 473 def from_revision @from_revision end |
#matches ⇒ Object
Returns the value of attribute matches
473 474 475 |
# File 'lib/ast/merge.rb', line 473 def matches @matches end |
#matching_id ⇒ Object
Returns the value of attribute matching_id
473 474 475 |
# File 'lib/ast/merge.rb', line 473 def matching_id @matching_id end |
#parent_policy ⇒ Object
Returns the value of attribute parent_policy
473 474 475 |
# File 'lib/ast/merge.rb', line 473 def parent_policy @parent_policy end |
#signature_components ⇒ Object
Returns the value of attribute signature_components
473 474 475 |
# File 'lib/ast/merge.rb', line 473 def signature_components @signature_components end |
#strategy ⇒ Object
Returns the value of attribute strategy
473 474 475 |
# File 'lib/ast/merge.rb', line 473 def strategy @strategy end |
#to_revision ⇒ Object
Returns the value of attribute to_revision
473 474 475 |
# File 'lib/ast/merge.rb', line 473 def to_revision @to_revision end |
#unmatched_from ⇒ Object
Returns the value of attribute unmatched_from
473 474 475 |
# File 'lib/ast/merge.rb', line 473 def unmatched_from @unmatched_from end |
#unmatched_to ⇒ Object
Returns the value of attribute unmatched_to
473 474 475 |
# File 'lib/ast/merge.rb', line 473 def unmatched_to @unmatched_to end |
Instance Method Details
#to_h ⇒ Object
475 476 477 478 479 480 481 482 483 484 485 486 487 488 |
# File 'lib/ast/merge.rb', line 475 def to_h { matching_id: matching_id, strategy: strategy, parent_policy: parent_policy, signature_components: signature_components || [], from_revision: from_revision, to_revision: to_revision, matches: (matches || []).map(&:to_h), unmatched_from: unmatched_from || [], unmatched_to: unmatched_to || [], diagnostics: diagnostics || [] } end |