aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-10-06 03:06:12 -0700
committerwycats <wycats@gmail.com>2010-10-06 03:06:12 -0700
commitd40ca9cce241a8083756c993d6c99a79e62e050e (patch)
tree91ab4c1f2218ba702cf320a3b97b65302cbb6e0d /railties/lib/rails/generators
parent0904e8256864239f673bf91fce1cfffb9345ee61 (diff)
downloadrails-d40ca9cce241a8083756c993d6c99a79e62e050e.tar.gz
rails-d40ca9cce241a8083756c993d6c99a79e62e050e.tar.bz2
rails-d40ca9cce241a8083756c993d6c99a79e62e050e.zip
Some initial docs
Diffstat (limited to 'railties/lib/rails/generators')
-rw-r--r--railties/lib/rails/generators/rails/app/app_generator.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb
index d2ab098885..7907191c74 100644
--- a/railties/lib/rails/generators/rails/app/app_generator.rb
+++ b/railties/lib/rails/generators/rails/app/app_generator.rb
@@ -21,6 +21,13 @@ module Rails
end
end
+ # The application builder allows you to override elements of the application
+ # generator without being forced to reverse the operations of the default
+ # generator.
+ #
+ # This allows you to override entire operations, like the creation of the
+ # Gemfile, README, or javascript files, without needing to know exactly
+ # what those operations do so you can create another template action.
class AppBuilder
def rakefile
template "Rakefile"