diff --git a/lib/pp.rb b/lib/pp.rb index f10fe7f..0e55441 100644 --- a/lib/pp.rb +++ b/lib/pp.rb @@ -453,11 +453,11 @@ def pretty_print(pp) # :nodoc: } } } - end + end unless method_defined?(:pretty_print) def pretty_print_cycle(pp) # :nodoc: pp.text sprintf('#', empty? ? '' : '...') - end + end unless method_defined?(:pretty_print_cycle) end class << ENV # :nodoc: