instance method after_bundle

Ruby on Rails 4.2.9

Since v4.2.9 Last seen in v5.2.8.1

Available 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

block block
Source
# File railties/lib/rails/generators/actions.rb, line 241
      def after_bundle(&block)
        @after_bundle_callbacks << block
      end

Defined in railties/lib/rails/generators/actions.rb line 241 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Rails::Generators::Actions

Type at least 2 characters to search.

↑↓ navigate · open · esc close