123456789_123456789_123456789_123456789_123456789_

Class: Rails::Server::Options

Relationships & Source Files
Inherits: Object
Defined in: railties/lib/rails/commands/server.rb

Instance Method Summary

Instance Method Details

#parse!(args)

[ GitHub ]

  
# File 'railties/lib/rails/commands/server.rb', line 9

def parse!(args)
  args, options = args.dup, {}

  option_parser(options).parse! args

  options[:log_stdout] = options[:daemonize].blank? && (options[:environment] || Rails.env) == "development"
  options[:server]     = args.shift
  options
end