28
29
30
31
32
33
34
35
36
37
38
39
|
# File 'lib/super_diff/object_inspection.rb', line 28
def self.const_missing(missing_const_name)
if Core::InspectionTreeNodes.const_defined?(missing_const_name)
warn " WARNING: SuperDiff::ObjectInspection::Nodes::\#{missing_const_name} is deprecated and will be removed in the next major release.\n Please use SuperDiff::Core::InspectionTreeNodes::\#{missing_const_name} instead.\n \#{caller_locations.join(\"\\n\")}\n WARNING\n Core::InspectionTreeNodes.const_get(missing_const_name)\n else\n super\n end\nend\n"
|