Class: DeploYML::Options::Mongrel

Inherits:
RProgram::Task
  • Object
show all
Defined in:
lib/deployml/options/mongrel.rb

Overview

Maps in command-line options for the mongrel_rails utility.

Constant Summary collapse

DEFAULTS =

Default options for Mongrel

{
  :environment => :production,
  :address => '127.0.0.1',
  :num_servers => 2
}

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Mongrel

Initialize the Mongrel options.

Parameters:

  • options (Hash) (defaults to: {})

    The given options.



44
45
46
# File 'lib/deployml/options/mongrel.rb', line 44

def initialize(options={})
  super(DEFAULTS.merge(options))
end