Module: Rack::Handler::FastCGI::ProperStream
- Defined in:
- lib/action_controller/vendor/rack-1.0/rack/handler/fastcgi.rb
Overview
:nodoc:
Instance Method Summary collapse
-
#each ⇒ Object
This is missing by default.
- #read(*args) ⇒ Object
Instance Method Details
#each ⇒ Object
This is missing by default.
17 18 19 20 21 |
# File 'lib/action_controller/vendor/rack-1.0/rack/handler/fastcgi.rb', line 17 def each # This is missing by default. while line = gets yield line end end |
#read(*args) ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/action_controller/vendor/rack-1.0/rack/handler/fastcgi.rb', line 23 def read(*args) if args.empty? super || "" # Empty string on EOF. else super end end |