Ruby 1.7.x compatibility In ruby 1.6.x and 1.8.0 reading from an empty stream returns an empty string the first time and then nil.
not so in 1.7.x
[Validate]
Generated with the Darkfish Rdoc Generator 2.