Class: SuperDiff::Basic::OperationTrees::Main

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

Class Method Summary collapse

Class Method Details

.call(*args) ⇒ Object



16
17
18
19
20
21
22
23
# File 'lib/super_diff/basic/operation_trees.rb', line 16

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