Rails::Generators::AppGenerator (original) (raw)

Methods

A

Instance Private methods

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

after_bundle do
  git add: '.'
end

Source: show | on GitHub

File railties/lib/rails/generators/rails/app/app_generator.rb, line 602

def after_bundle(&block) # :doc: @after_bundle_callbacks << block end