about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-08-20 02:31:23 -0700
committerEric Wong <normalperson@yhbt.net>2009-08-20 02:31:23 -0700
commit8197825dbeebcaf7da963b75ee8a012e52483f96 (patch)
treec1fd65dfd9b84ad9c4baabc39dc27a16d0b2e7b5
parentc9f80eebc4ec8f717f667970d4c2763f96283ebd (diff)
downloadunicorn-8197825dbeebcaf7da963b75ee8a012e52483f96.tar.gz
the docs for the TeeInput class was clobbering the Unicorn
module documentation instead.
-rw-r--r--lib/unicorn/tee_input.rb21
1 files changed, 9 insertions, 12 deletions
diff --git a/lib/unicorn/tee_input.rb b/lib/unicorn/tee_input.rb
index fcf4a95..e5b1964 100644
--- a/lib/unicorn/tee_input.rb
+++ b/lib/unicorn/tee_input.rb
@@ -1,16 +1,13 @@
-# Copyright (c) 2009 Eric Wong
-# You can redistribute it and/or modify it under the same terms as Ruby.
-
-# acts like tee(1) on an input input to provide a input-like stream
-# while providing rewindable semantics through a File/StringIO
-# backing store.  On the first pass, the input is only read on demand
-# so your Rack application can use input notification (upload progress
-# and like).  This should fully conform to the Rack::InputWrapper
-# specification on the public API.  This class is intended to be a
-# strict interpretation of Rack::InputWrapper functionality and will
-# not support any deviations from it.
-
 module Unicorn
+
+  # acts like tee(1) on an input input to provide a input-like stream
+  # while providing rewindable semantics through a File/StringIO
+  # backing store.  On the first pass, the input is only read on demand
+  # so your Rack application can use input notification (upload progress
+  # and like).  This should fully conform to the Rack::InputWrapper
+  # specification on the public API.  This class is intended to be a
+  # strict interpretation of Rack::InputWrapper functionality and will
+  # not support any deviations from it.
   class TeeInput < Struct.new(:socket, :req, :parser, :buf)
 
     def initialize(*args)