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