Class: Rails::Server::Options
- Inherits:
-
Object
- Object
- Rails::Server::Options
- Defined in:
- lib/rails/commands/server.rb
Instance Method Summary collapse
Instance Method Details
#parse!(args) ⇒ Object
9 10 11 12 13 14 15 16 17 |
# File 'lib/rails/commands/server.rb', line 9 def parse!(args) args, = args.dup, {} option_parser().parse! args [:log_stdout] = [:daemonize].blank? && ([:environment] || Rails.env) == "development" [:server] = args.shift end |