Permalink
Browse files

Fix various documentation typos throughout ActionPack. Closes #8111. …

…[Henrik N]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6679 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 6bdcc0c commit 4e51123a010db2e58e9dd23147be63cee963bf2d Marcel Molina committed May 6, 2007
@@ -1,5 +1,7 @@
*SVN*
+* Fix various documentation typos throughout ActionPack. [Henrik N]
+
* Enhance documentation and add examples for url_for. [jeremymcanally]
* Fix documentation typo in routes. [norbert, pam]
@@ -4,7 +4,7 @@
include Config
-# this was adapted from rdoc's install.rb by ways of Log4r
+# this was adapted from rdoc's install.rb by way of Log4r
$sitedir = CONFIG["sitelibdir"]
unless $sitedir
@@ -18,7 +18,7 @@
end
end
-# the acual gruntwork
+# the actual gruntwork
Dir.chdir("lib")
Find.find("action_controller", "action_controller.rb", "action_view", "action_view.rb") { |f|
@@ -82,7 +82,7 @@ class ActionViewError < StandardError #:nodoc:
# Here are some basic examples:
#
# xml.em("emphasized") # => <em>emphasized</em>
- # xml.em { xml.b("emp & bold") } # => <em><b>emph &amp; bold</b></em>
+ # xml.em { xml.b("emph & bold") } # => <em><b>emph &amp; bold</b></em>
# xml.a("A Link", "href"=>"http://onestepback.org") # => <a href="http://onestepback.org">A Link</a>
# xml.target("name"=>"compile", "option"=>"fast") # => <target option="fast" name="compile"\>
# # NOTE: order of attributes is not specified.
@@ -1,4 +1,3 @@
-
module ActionView
# CompiledTemplates modules hold methods that have been compiled.
@@ -40,7 +39,7 @@ def mtime(identifier, arg_names)
# Compile the provided source code for the given argument names and with the given initial line number.
# The identifier should be unique to this source.
#
- # The file_name, if provided will appear in backtraces. If not provded, the file_name defaults
+ # The file_name, if provided will appear in backtraces. If not provided, the file_name defaults
# to the identifier.
#
# This method will return the selector for the compiled version of this method.

0 comments on commit 4e51123

Please sign in to comment.