Flowdock
method

new

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: AppGenerator
new(runtime_args, runtime_options = {}) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails_generator/generators/applications/app/app_generator.rb, line 17
  def initialize(runtime_args, runtime_options = {})
    super

    usage if args.empty?
    usage("Databases supported for preconfiguration are: #{DATABASES.join(", ")}") if (options[:db] && !DATABASES.include?(options[:db]))

    @destination_root = args.shift
    @app_name = File.basename(File.expand_path(@destination_root))
  end
Register or log in to add new notes.