Skip to Content Skip to Search

class Rails::Generators::AppGenerator

Inherits From

Private instance methods

after_bundle(&block)

Permalink

Registers a callback to be executed after bundle binstubs have run.

after_bundle do
  git add: '.'
end
Source code GitHub
# File railties/lib/rails/generators/rails/app/app_generator.rb, line 570
def after_bundle(&block) # :doc:
  @after_bundle_callbacks << block
end

Definition files