diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-04 09:37:38 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-06-04 09:37:38 +0000 |
commit | e6c1752137349537c72f4438d34c990b26d0c71d (patch) | |
tree | dcaf4183b65972648531083adbd167bfd1274d38 /lib/rake.rb | |
parent | 106e48e5d86d20a4a288fd432d973ed69874b6d5 (diff) |
* lib/rdoc.rb: massive spelling correction patch from Evan Farrar
<evanfarrar at gmail.com> in [ruby-doc:1382] applied.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rake.rb')
-rwxr-xr-x | lib/rake.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/rake.rb b/lib/rake.rb index b5924a1211..147d05c531 100755 --- a/lib/rake.rb +++ b/lib/rake.rb @@ -72,7 +72,7 @@ end # module Module # class String rake_extension("ext") do - # Replace the file extension with +newext+. If there is no extenson on + # Replace the file extension with +newext+. If there is no extension on # the string, append the new extension to the end. If the new extension # is not given, or is the empty string, remove any existing extension. # @@ -145,7 +145,7 @@ class String # * <b>%x</b> -- The file extension of the path. An empty string if there # is no extension. # * <b>%X</b> -- Everything *but* the file extension. - # * <b>%s</b> -- The alternate file separater if defined, otherwise use + # * <b>%s</b> -- The alternate file separator if defined, otherwise use # the standard file separator. # * <b>%%</b> -- A percent sign. # @@ -160,8 +160,8 @@ class String # 'a/b/c/d/file.txt'.pathmap("%-2d") => 'c/d' # # Also the %d, %p, $f, $n, %x, and %X operators can take a - # pattern/replacement argument to perform simple string substititions on a - # particular part of the path. The pattern and replacement are speparated + # pattern/replacement argument to perform simple string substitutions on a + # particular part of the path. The pattern and replacement are separated # by a comma and are enclosed by curly braces. The replacement spec comes # after the % character but before the operator letter. (e.g. # "%{old,new}d"). Muliple replacement specs should be separated by @@ -1029,7 +1029,7 @@ module RakeFileUtils oldvalue end - # Use this function to prevent protentially destructive ruby code from + # Use this function to prevent potentially destructive ruby code from # running when the :nowrite flag is set. # # Example: @@ -1352,7 +1352,7 @@ module Rake private :resolve_exclude # Return a new FileList with the results of running +sub+ against each - # element of the oringal list. + # element of the original list. # # Example: # FileList['a.c', 'b.c'].sub(/\.c$/, '.o') => ['a.o', 'b.o'] @@ -1942,7 +1942,7 @@ module Rake [name, args] end - # Provide standard execption handling for the given block. + # Provide standard exception handling for the given block. def standard_exception_handling begin yield |