summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/pp.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pp.rb b/lib/pp.rb
index f10fe7f2f0..0e55441e57 100644
--- a/lib/pp.rb
+++ b/lib/pp.rb
@@ -453,11 +453,11 @@ class Set # :nodoc:
}
}
}
- end
+ end unless method_defined?(:pretty_print)
def pretty_print_cycle(pp) # :nodoc:
pp.text sprintf('#<Set: {%s}>', empty? ? '' : '...')
- end
+ end unless method_defined?(:pretty_print_cycle)
end
class << ENV # :nodoc: