Permalink
Browse files

Replace :base with :in [ci skip]

  • Loading branch information...
1 parent 7dce1e6 commit bad291eb08b8f1e767f03b188527949200a20184 @marcioj marcioj committed May 11, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 railties/lib/rails/generators/base.rb
View
4 railties/lib/rails/generators/base.rb
@@ -83,7 +83,7 @@ def self.hide!
#
# 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 @@ def self.hide!
# "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

0 comments on commit bad291e

Please sign in to comment.