Skip to content

Instantly share code, notes, and snippets.

@chad
Created April 7, 2011 10:28
Show Gist options
  • Save chad/907511 to your computer and use it in GitHub Desktop.
Save chad/907511 to your computer and use it in GitHub Desktop.

Revisions

  1. chad created this gist Apr 7, 2011.
    13 changes: 13 additions & 0 deletions configuration.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    configuration = configure do |config|
    config.tail_logs = true
    config.max_connections = 55
    config.admin_password = 'secret'
    config.app_server do |app_server_config|
    app_server_config.port = 8808
    app_server_config.admin_password = config.admin_password
    end
    end

    configuration.class # => Configuration
    configuration.tail_logs # => true
    configuration.app_server.admin_password # => 'secret'