class Rails::Generators::AppGenerator

Parent:
Rails::Generators::AppBase

Private Instance Methods

after_bundle(&block) Show source
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 576
def after_bundle(&block) # :doc:
  @after_bundle_callbacks << block
end

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

after_bundle do
  git add: '.'
end

© 2004–2020 David Heinemeier Hansson
Licensed under the MIT License.