aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
diff options
context:
space:
mode:
authorMarcio Junior <marciojunior_eu@yahoo.com.br>2014-05-11 15:42:35 -0300
committerMarcio Junior <marciojunior_eu@yahoo.com.br>2014-05-11 15:42:35 -0300
commitbad291eb08b8f1e767f03b188527949200a20184 (patch)
tree806f7746e505be48168f42b699a796f228e5376a /railties/lib/rails/generators
parent7dce1e6d98f78d0cce963456f226811c22bb645d (diff)
downloadrails-bad291eb08b8f1e767f03b188527949200a20184.tar.gz
rails-bad291eb08b8f1e767f03b188527949200a20184.tar.bz2
rails-bad291eb08b8f1e767f03b188527949200a20184.zip
Replace :base with :in [ci skip]
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r--railties/lib/rails/generators/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/lib/rails/generators/base.rb b/railties/lib/rails/generators/base.rb
index 67bab96a22..9af6435f23 100644
--- a/railties/lib/rails/generators/base.rb
+++ b/railties/lib/rails/generators/base.rb
@@ -83,7 +83,7 @@ module Rails
#
# The first and last part used to find the generator to be invoked are
# guessed based on class invokes hook_for, as noticed in the example above.
- # This can be customized with two options: :base and :as.
+ # This can be customized with two options: :in and :as.
#
# Let's suppose you are creating a generator that needs to invoke the
# controller generator from test unit. Your first attempt is:
@@ -108,7 +108,7 @@ module Rails
# "test_unit:controller", "test_unit"
#
# Similarly, if you want it to also lookup in the rails namespace, you just
- # need to provide the :base value:
+ # need to provide the :in value:
#
# class AwesomeGenerator < Rails::Generators::Base
# hook_for :test_framework, in: :rails, as: :controller