aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2011-12-21 22:26:10 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2011-12-21 22:26:10 +0530
commitc1b2642a9eb54a5f83b19d0507306bb58c889ac1 (patch)
tree648831f4f0505deb0054759f5d499a927f89917a /railties/lib
parent1989dacc35290e60c078cefb1b03f324900e9724 (diff)
parentfc7e5db90a97613506356d0d99b072acdb0b195a (diff)
downloadrails-c1b2642a9eb54a5f83b19d0507306bb58c889ac1.tar.gz
rails-c1b2642a9eb54a5f83b19d0507306bb58c889ac1.tar.bz2
rails-c1b2642a9eb54a5f83b19d0507306bb58c889ac1.zip
Merge branch 'master' of github.com:lifo/docrails
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/generators/base.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/railties/lib/rails/generators/base.rb b/railties/lib/rails/generators/base.rb
index f38a487a4e..af743a9c51 100644
--- a/railties/lib/rails/generators/base.rb
+++ b/railties/lib/rails/generators/base.rb
@@ -128,13 +128,13 @@ module Rails
#
# ==== Boolean hooks
#
- # In some cases, you want to provide a boolean hook. For example, webrat
+ # In some cases, you may want to provide a boolean hook. For example, webrat
# developers might want to have webrat available on controller generator.
# This can be achieved as:
#
# Rails::Generators::ControllerGenerator.hook_for :webrat, :type => :boolean
#
- # Then, if you want, webrat to be invoked, just supply:
+ # Then, if you want webrat to be invoked, just supply:
#
# rails generate controller Account --webrat
#
@@ -146,7 +146,7 @@ module Rails
#
# You can also supply a block to hook_for to customize how the hook is
# going to be invoked. The block receives two arguments, an instance
- # of the current class and the klass to be invoked.
+ # of the current class and the class to be invoked.
#
# For example, in the resource generator, the controller should be invoked
# with a pluralized class name. But by default it is invoked with the same