Class: TreeHaver::BinaryMergeReport
- Inherits:
-
Struct
- Object
- Struct
- TreeHaver::BinaryMergeReport
- Defined in:
- lib/tree_haver/contracts.rb
Instance Attribute Summary collapse
-
#checksum_updates ⇒ Object
Returns the value of attribute checksum_updates.
-
#diagnostics ⇒ Object
Returns the value of attribute diagnostics.
-
#format ⇒ Object
Returns the value of attribute format.
-
#matched_schema_paths ⇒ Object
Returns the value of attribute matched_schema_paths.
-
#nested_dispatches ⇒ Object
Returns the value of attribute nested_dispatches.
-
#preserved_ranges ⇒ Object
Returns the value of attribute preserved_ranges.
-
#rewritten_nodes ⇒ Object
Returns the value of attribute rewritten_nodes.
-
#schema ⇒ Object
Returns the value of attribute schema.
Instance Method Summary collapse
Instance Attribute Details
#checksum_updates ⇒ Object
Returns the value of attribute checksum_updates
839 840 841 |
# File 'lib/tree_haver/contracts.rb', line 839 def checksum_updates @checksum_updates end |
#diagnostics ⇒ Object
Returns the value of attribute diagnostics
839 840 841 |
# File 'lib/tree_haver/contracts.rb', line 839 def diagnostics @diagnostics end |
#format ⇒ Object
Returns the value of attribute format
839 840 841 |
# File 'lib/tree_haver/contracts.rb', line 839 def format @format end |
#matched_schema_paths ⇒ Object
Returns the value of attribute matched_schema_paths
839 840 841 |
# File 'lib/tree_haver/contracts.rb', line 839 def matched_schema_paths @matched_schema_paths end |
#nested_dispatches ⇒ Object
Returns the value of attribute nested_dispatches
839 840 841 |
# File 'lib/tree_haver/contracts.rb', line 839 def nested_dispatches @nested_dispatches end |
#preserved_ranges ⇒ Object
Returns the value of attribute preserved_ranges
839 840 841 |
# File 'lib/tree_haver/contracts.rb', line 839 def preserved_ranges @preserved_ranges end |
#rewritten_nodes ⇒ Object
Returns the value of attribute rewritten_nodes
839 840 841 |
# File 'lib/tree_haver/contracts.rb', line 839 def rewritten_nodes @rewritten_nodes end |
#schema ⇒ Object
Returns the value of attribute schema
839 840 841 |
# File 'lib/tree_haver/contracts.rb', line 839 def schema @schema end |
Instance Method Details
#to_h ⇒ Object
841 842 843 844 845 846 847 848 849 850 851 852 |
# File 'lib/tree_haver/contracts.rb', line 841 def to_h { format: format, schema: schema, matched_schema_paths: deep_dup(matched_schema_paths || []), preserved_ranges: (preserved_ranges || []).map(&:to_h), rewritten_nodes: deep_dup(rewritten_nodes || []), checksum_updates: deep_dup(checksum_updates || []), nested_dispatches: (nested_dispatches || []).map(&:to_h), diagnostics: (diagnostics || []).map(&:to_h) } end |