Class: SuperDiff::Basic::Differs::Main

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

Class Method Summary collapse

Class Method Details

.call(*args) ⇒ Object



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

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