1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Removed unused mu_pp method

This commit is contained in:
Hiroshi SHIBATA 2021-09-13 20:41:03 +09:00
parent f5993331b2
commit 455978cd13
No known key found for this signature in database
GPG key ID: F9CF13417264FAC2

View file

@ -88,17 +88,6 @@ module Test
tempfile_b.close! if tempfile_b
end
##
# This returns a human-readable version of +obj+. By default
# #inspect is called. You can override this to use #pretty_print
# if you want.
def mu_pp obj
s = obj.inspect
s = s.encode Encoding.default_external if defined? Encoding
s
end
##
# This returns a diff-able human-readable version of +obj+. This
# differs from the regular mu_pp because it expands escaped