summaryrefslogtreecommitdiffstats
path: root/lib/prettyprint.rb
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-07 11:31:21 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-07 11:31:21 +0000
commitafda1bdb62ce3f6256b73f64b4cf2c93fcd2ade1 (patch)
tree0dbf04277e319c2f335e8ff3101a5c59011f4dbf /lib/prettyprint.rb
parent23a6ab1248f27a30c53e7395f8120a37a584e819 (diff)
downloadruby-afda1bdb62ce3f6256b73f64b4cf2c93fcd2ade1.tar.gz
ruby-afda1bdb62ce3f6256b73f64b4cf2c93fcd2ade1.tar.xz
ruby-afda1bdb62ce3f6256b73f64b4cf2c93fcd2ade1.zip
fix typos.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/prettyprint.rb')
-rw-r--r--lib/prettyprint.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/prettyprint.rb b/lib/prettyprint.rb
index 0aa54e91f..70b6da792 100644
--- a/lib/prettyprint.rb
+++ b/lib/prettyprint.rb
@@ -7,14 +7,14 @@ It finds line breaks and nice indentations for grouped structure.
By default, the class assumes that primitive elements are strings and
each byte in the strings have single column in width.
-But it can be used for other situasions
+But it can be used for other situations
by giving suitable arguments for some methods:
newline object and space generation block for (({PrettyPrint.new})),
optional width argument for (({PrettyPrint#text})),
(({PrettyPrint#breakable})), etc.
There are several candidates to use them:
text formatting using proportional fonts,
-multibyte characters which has columns diffrent to number of bytes,
+multibyte characters which has columns different to number of bytes,
non-string formatting, etc.
== class methods