From d3b97d1114e2d23a9231fe889cd5bf6927d451ba Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 10 Jul 2010 08:04:48 +0000 Subject: doc: avoid documenting internals on RDoc website Since we suck at building websites, we just rely on RDoc as a website builder. And since Rainbows! is an application server (and not a programming library), our internal API should be of little interest to end users. Anybody interested in Rainbows! (or any other project) internals should be reading the source. --- lib/rainbows/base.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/rainbows/base.rb') diff --git a/lib/rainbows/base.rb b/lib/rainbows/base.rb index a619b00..3fb5a94 100644 --- a/lib/rainbows/base.rb +++ b/lib/rainbows/base.rb @@ -19,7 +19,7 @@ module Rainbows::Base HttpParser = Unicorn::HttpParser # this method is called by all current concurrency models - def init_worker_process(worker) + def init_worker_process(worker) # :nodoc: super(worker) Rainbows::Response.setup(self.class) Rainbows::MaxBody.setup @@ -40,7 +40,7 @@ module Rainbows::Base logger.info "Rainbows! #@use worker_connections=#@worker_connections" end - def wait_headers_readable(client) + def wait_headers_readable(client) # :nodoc: IO.select([client], nil, nil, G.kato) end @@ -48,7 +48,7 @@ module Rainbows::Base # in 3 easy steps: read request, call app, write app response # this is used by synchronous concurrency models # Base, ThreadSpawn, ThreadPool - def process_client(client) + def process_client(client) # :nodoc: buf = client.readpartial(CHUNK_SIZE) # accept filters protect us here hp = HttpParser.new env = {} @@ -87,7 +87,7 @@ module Rainbows::Base client.close unless client.closed? end - def self.included(klass) + def self.included(klass) # :nodoc: klass.const_set :LISTENERS, Rainbows::HttpServer::LISTENERS klass.const_set :G, Rainbows::G end -- cgit v1.2.3-24-ge0c7