Class: DeploYML::Options::Thin

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

Overview

Maps in command-line options for the thin utility.

Constant Summary collapse

DEFAULTS =

Default options for Thin

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

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Thin

Initialize the Thin options.

Parameters:

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

    The given options.



69
70
71
# File 'lib/deployml/options/thin.rb', line 69

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