Methods
Instance Private methods
after_bundle(&block)
Registers a callback to be executed after bundle and spring binstubs have run.
after_bundle do
git add: '.'
end
📝 Source code
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 574
def after_bundle(&block) # :doc:
@after_bundle_callbacks << block
end
🔎 See on GitHub