Class: SuperDiff::Basic::OperationTreeBuilders::DefaultObject

Inherits:
Core::AbstractOperationTreeBuilder show all
Defined in:
lib/super_diff/basic/operation_tree_builders/default_object.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Core::AbstractOperationTreeBuilder

#call

Constructor Details

#initialize(*args) ⇒ DefaultObject

Returns a new instance of DefaultObject.



11
12
13
14
15
# File 'lib/super_diff/basic/operation_tree_builders/default_object.rb', line 11

def initialize(*args)
  super

  establish_expected_and_actual_attributes
end

Class Method Details

.applies_to?(_expected, _actual) ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/super_diff/basic/operation_tree_builders/default_object.rb', line 7

def self.applies_to?(_expected, _actual)
  true
end