提交 784664f8 编写于 作者: Y yuuji.yaginuma

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.
上级 d380ffe2
......@@ -243,7 +243,10 @@ module Generators
# 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 @@ def self.banner
"rails new #{arguments.map(&:usage).join(' ')} [options]"
end
# :startdoc:
private
# Define file as an alias to create_file for backwards compatibility.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册