方法
執行個體私有方法
after_bundle(&block) 連結
註冊一個在 bundle binstubs 執行後執行的回呼。
after_bundle do
git add: '.'
end
來源: 顯示 | 在 GitHub 上
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 574 def after_bundle(&block) # :doc: @after_bundle_callbacks << block end