From e6c1752137349537c72f4438d34c990b26d0c71d 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: svn+ssh://ci.ruby-lang.org/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/pretty.rb') diff --git a/lib/rexml/formatters/pretty.rb b/lib/rexml/formatters/pretty.rb index 3666eddc96..296e607687 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 v1.2.3