summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2010-10-07 06:33:03 +0000
committerEric Wong <normalperson@yhbt.net>2010-10-07 06:33:03 +0000
commit090f56bb79a8ec734719d9be90daa3cd01d29871 (patch)
tree89c2001ea2d121a0bc781435f7a89114ccfc0f4b
parent5df8f15c32420c03b2e763a649e6d829ede52113 (diff)
We clobber the accessor methods.
-rw-r--r--lib/unicorn/http_server.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/unicorn/http_server.rb b/lib/unicorn/http_server.rb
index d6fc0bd..5d6c023 100644
--- a/lib/unicorn/http_server.rb
+++ b/lib/unicorn/http_server.rb
@@ -7,9 +7,10 @@
 class Unicorn::HttpServer
   attr_accessor :app, :request, :timeout, :worker_processes,
                 :before_fork, :after_fork, :before_exec,
-                :logger, :pid, :listener_opts, :preload_app,
+                :listener_opts, :preload_app,
                 :reexec_pid, :orig_app, :init_listeners,
                 :master_pid, :config, :ready_pipe, :user
+  attr_reader :pid, :logger
 
   # :stopdoc:
   include Unicorn::SocketHelper