aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/pp.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pp.rb b/lib/pp.rb
index 7d1c502817..0e737d23f6 100644
--- a/lib/pp.rb
+++ b/lib/pp.rb
@@ -17,6 +17,7 @@ module Kernel
# prints arguments in pretty form.
#
# pp returns argument(s).
+ undef pp if method_defined?(:pp)
def pp(*objs)
objs.each {|obj|
PP.pp(obj)