Class: SuperDiff::OperationTrees::CustomObject
- Inherits:
-
DefaultObject
- Object
- Base
- DefaultObject
- SuperDiff::OperationTrees::CustomObject
- Defined in:
- lib/super_diff/operation_trees/custom_object.rb
Instance Attribute Summary
Attributes inherited from DefaultObject
Class Method Summary collapse
Methods inherited from DefaultObject
Methods inherited from Base
#flatten, #initialize, #perhaps_elide, #pretty_print, #to_diff
Constructor Details
This class inherits a constructor from SuperDiff::OperationTrees::DefaultObject
Class Method Details
.applies_to?(value) ⇒ Boolean
4 5 6 |
# File 'lib/super_diff/operation_trees/custom_object.rb', line 4 def self.applies_to?(value) value.respond_to?(:attributes_for_super_diff) end |