method

new

Importance_0
v1.0.0 - 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 10
  def initialize(runtime_args, runtime_options = {})
    super
    usage if args.empty?
    @destination_root = args.shift
    @socket = MYSQL_SOCKET_LOCATIONS.find { |f| File.exists?(f) }
    @socket = '/path/to/your/mysql.sock' if @socket.blank?
  end
Register or log in to add new notes.