instance method
after_bundle
Ruby on Rails 5.2.8.1
Since v4.2.9 Last seen in v5.2.8.1Available in: v4.2.9 v5.2.8.1
Signature
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/actions.rb, line 273
def after_bundle(&block)
@after_bundle_callbacks << block
end
Defined in railties/lib/rails/generators/actions.rb line 273
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::Generators::Actions