Class: SuperDiff::Basic::OperationTreeBuilders::Main

Inherits:
Object
  • Object
show all
Defined in:
lib/super_diff/basic/operation_tree_builders.rb

Class Method Summary collapse

Class Method Details

.call(*args) ⇒ Object



29
30
31
32
33
34
35
36
# File 'lib/super_diff/basic/operation_tree_builders.rb', line 29

def self.call(*args)
  warn <<~WARNING
    WARNING: SuperDiff::OperationTreeBuilders::Main.call(...) is deprecated and will be removed in the next major release.
    Please use SuperDiff.build_operation_tree_for(...) instead.
    #{caller_locations.join("\n")}
  WARNING
  SuperDiff.build_operation_tree_for(*args)
end