instance method
after_bundle
Ruby on Rails 6.1.7.10
Since v6.1.7.10 PrivateSignature
after_bundle(&block)
Registers a callback to be executed after bundle and spring binstubs have run.
after_bundle do git add: '.' end
Parameters
-
blockblock
Source
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 574
def after_bundle(&block) # :doc:
@after_bundle_callbacks << block
end
Defined in railties/lib/rails/generators/rails/app/app_generator.rb line 574
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::AppGenerator