summaryrefslogtreecommitdiff
path: root/lib/pp.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pp.rb')
-rw-r--r--lib/pp.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/pp.rb b/lib/pp.rb
index 03d9248218..c366e25932 100644
--- a/lib/pp.rb
+++ b/lib/pp.rb
@@ -51,8 +51,8 @@ PP#pp to print the object.
outputs ((|obj|)) to ((|out|)) in pretty printed format of
((|width|)) columns in width.
- If ((|out|)) is ommitted, (({$>})) is assumed.
- If ((|width|)) is ommitted, 79 is assumed.
+ If ((|out|)) is omitted, (({$>})) is assumed.
+ If ((|width|)) is omitted, 79 is assumed.
PP.pp returns ((|out|)).
@@ -269,7 +269,7 @@ class PP < PrettyPrint
def pretty_print_inspect
if /\(PP::ObjectMixin\)#/ =~ method(:pretty_print).inspect
- raise "pretty_print is not overriden."
+ raise "pretty_print is not overridden."
end
PP.singleline_pp(self, '')
end