Class: SuperDiff::OperationSequences::CustomObject
- Inherits:
-
DefaultObject
- Object
- SimpleDelegator
- Base
- DefaultObject
- SuperDiff::OperationSequences::CustomObject
- Defined in:
- lib/super_diff/operation_sequences/custom_object.rb
Instance Method Summary collapse
Methods inherited from DefaultObject
Constructor Details
This class inherits a constructor from SuperDiff::OperationSequences::DefaultObject
Instance Method Details
#to_diff(indent_level:, add_comma: false, collection_prefix: nil) ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/super_diff/operation_sequences/custom_object.rb', line 4 def to_diff(indent_level:, add_comma: false, collection_prefix: nil) DiffFormatters::CustomObject.call( self, indent_level: indent_level, collection_prefix: collection_prefix, add_comma: add_comma, value_class: value_class, ) end |