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/thread_spawn.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/rainbows/thread_spawn.rb') diff --git a/lib/rainbows/thread_spawn.rb b/lib/rainbows/thread_spawn.rb index 9660fc0..6952f26 100644 --- a/lib/rainbows/thread_spawn.rb +++ b/lib/rainbows/thread_spawn.rb @@ -17,10 +17,9 @@ module Rainbows # capabilities module ThreadSpawn - include Base - def accept_loop(klass) + def accept_loop(klass) #:nodoc: lock = Mutex.new limit = worker_connections LISTENERS.each do |l| @@ -55,7 +54,7 @@ module Rainbows sleep 1 while G.tick || lock.synchronize { G.cur > 0 } end - def worker_loop(worker) + def worker_loop(worker) #:nodoc: init_worker_process(worker) accept_loop(Thread) end -- cgit v1.2.3-24-ge0c7