Class: PhusionPassenger::Standalone::Command
- Includes:
- Utils
- Defined in:
- lib/phusion_passenger/standalone/command.rb
Direct Known Subclasses
HelpCommand, PackageRuntimeCommand, StartCommand, StatusCommand, StopCommand, VersionCommand
Constant Summary collapse
- DEFAULT_OPTIONS =
{ :address => '0.0.0.0', :port => 3000, :env => ENV['RAILS_ENV'] || ENV['RACK_ENV'] || 'development', :max_pool_size => 6, :min_instances => 1, :spawn_method => 'smart-lv2', :nginx_version => PREFERRED_NGINX_VERSION }.freeze
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(args) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(args) ⇒ Command
Returns a new instance of Command.
51 52 53 54 55 |
# File 'lib/phusion_passenger/standalone/command.rb', line 51 def initialize(args) @args = args.dup @original_args = args.dup @options = DEFAULT_OPTIONS.dup end |