Skip to Content Skip to Search

class Rails::Generators::AppGenerator

Inherits From

Private instance methods

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 601
def after_bundle(&block) # :doc:
  @after_bundle_callbacks << block
end

Definition files