diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-05-29 11:46:32 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2019-05-29 11:46:32 +0900 |
commit | 784664f85b684ec3749c36f6f57a355631920cab (patch) | |
tree | 2199c051ad76059ab4ebeacbc5c4481b39723e74 /railties/lib/rails | |
parent | d380ffe216ce3b44d9678524bcabeb16379430df (diff) | |
download | rails-784664f85b684ec3749c36f6f57a355631920cab.tar.gz rails-784664f85b684ec3749c36f6f57a355631920cab.tar.bz2 rails-784664f85b684ec3749c36f6f57a355631920cab.zip |
Bring `after_bundle` back to API document [ci skip]
At class level `:nodoc:` all elements are prevented. Instead, use
`:stopdoc:` / `:startdoc:` to make `after_bundle` appear.
Diffstat (limited to 'railties/lib/rails')
-rw-r--r-- | railties/lib/rails/generators/rails/app/app_generator.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/railties/lib/rails/generators/rails/app/app_generator.rb b/railties/lib/rails/generators/rails/app/app_generator.rb index f2f46d6e25..7336e235f6 100644 --- a/railties/lib/rails/generators/rails/app/app_generator.rb +++ b/railties/lib/rails/generators/rails/app/app_generator.rb @@ -243,7 +243,10 @@ module Rails # can change in Ruby 1.8.7 when we FileUtils.cd. RAILS_DEV_PATH = File.expand_path("../../../../../..", __dir__) - class AppGenerator < AppBase # :nodoc: + class AppGenerator < AppBase + + # :stopdoc: + WEBPACKS = %w( react vue angular elm stimulus ) add_shared_options_for "application" @@ -492,6 +495,8 @@ module Rails "rails new #{arguments.map(&:usage).join(' ')} [options]" end + # :startdoc: + private # Define file as an alias to create_file for backwards compatibility. |