class Rails::Railtie::Configuration

def app_generators

application overwrites them.
Values set on app_generators will become defaults for application, unless

This allows you to modify application's generators from Railties.
def app_generators
  @@app_generators ||= Rails::Configuration::Generators.new
  yield(@@app_generators) if block_given?
  @@app_generators
end