ruby-changes:67972
From: Hiroshi <ko1@a...>
Date: Mon, 13 Sep 2021 21:07:06 +0900 (JST)
Subject: [ruby-changes:67972] 455978cd13 (master): Removed unused mu_pp method
https://git.ruby-lang.org/ruby.git/commit/?id=455978cd13 From 455978cd133f27fab9e2bfa4301efd3b7c7d0462 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Mon, 13 Sep 2021 20:41:03 +0900 Subject: Removed unused mu_pp method --- tool/lib/test/unit/assertions.rb | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/tool/lib/test/unit/assertions.rb b/tool/lib/test/unit/assertions.rb index 9d88a3a..814dd44 100644 --- a/tool/lib/test/unit/assertions.rb +++ b/tool/lib/test/unit/assertions.rb @@ -89,17 +89,6 @@ module Test https://github.com/ruby/ruby/blob/trunk/tool/lib/test/unit/assertions.rb#L89 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 # newlines and makes hex-values generic (like object_ids). This -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/