From f12e1bb3fa605f99201e02b80752725839e12e1a Mon Sep 17 00:00:00 2001 From: matz Date: Wed, 4 Jun 2008 09:37:38 +0000 Subject: * lib/rdoc.rb: massive spelling correction patch from Evan Farrar in [ruby-doc:1382] applied. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rexml/formatters/pretty.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rexml/formatters') diff --git a/lib/rexml/formatters/pretty.rb b/lib/rexml/formatters/pretty.rb index 3666eddc9..296e60768 100644 --- a/lib/rexml/formatters/pretty.rb +++ b/lib/rexml/formatters/pretty.rb @@ -126,7 +126,7 @@ module REXML end def wrap(string, width) - # Recursivly wrap string at width. + # Recursively wrap string at width. return string if string.length <= width place = string.rindex(' ', width) # Position in string with last ' ' before cutoff return string[0,place] + "\n" + wrap(string[place+1..-1], width) -- cgit