Skip to Content Skip to Search
v7.1.0
class Rails::Generators::AppGenerator < Rails::Generators::AppBase
Methods
A

Private instance methods

after_bundle(&block)

Permalink

Registers a callback to be executed after bundle binstubs have run.

after_bundle do
  git add: '.'
end
Source code GitHub
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 577
def after_bundle(&block) # :doc:
  @after_bundle_callbacks << block
end
Definition files