This method is deprecated or moved on the latest stable version.
The last existing version (v2_1_10) is shown here.
mu_pp_for_diff(obj)
public
This returns a diff-able human-readable version of obj. This
differs from the regular mu_pp because it expands escaped
newlines and makes hex-values generic (like object_ids). This uses mu_pp to do the first pass and then cleans it up.
# File lib/minitest/unit.rb, line 181
def mu_pp_for_diff obj
mu_pp(obj).gsub(/\\n/, "\n").gsub(/:0x[a-fA-F0-9]{4,}/, ':0xXXXXXX')
end