class Rails::Generators::AppGenerator
Private Instance Methods
# 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.