aboutsummaryrefslogtreecommitdiffstats
path: root/lib/pp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pp.rb')
-rw-r--r--lib/pp.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/pp.rb b/lib/pp.rb
index b7dbef6ca1..be8e389356 100644
--- a/lib/pp.rb
+++ b/lib/pp.rb
@@ -302,21 +302,21 @@ class PP < PrettyPrint
# Allows you to implement pretty print in your own class, for example:
# require 'pp'
- #
+ #
# class Cat
# include PP::ObjectMixin
- #
+ #
# attr_accessor :name, :age, :color
- #
+ #
# def initialize name
# @name = name
# end
- #
+ #
# def pretty_print q
# q.pp_object self
# end
# alias inspect pretty_print_inspect
- #
+ #
# end
#
# In order to use this class, try the following: