edge badge
Methods
P
Constants
DEFAULT_PID_PATH = File.expand_path("tmp/pids/server.pid").freeze
 
Instance Public methods
parse!(args)
# File railties/lib/rails/commands/server.rb, line 12
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