raja / cs.indiana.edu (Raja S.) writes:

> Reading the entire contents of a file as a string is a common enough
> operation.  We have the instance methods #read and #readlines. Was curious
> about the asymmetry in that we only have the class method IO.readlines .
> (Of course, we could write our own IO.read but was wondering why it isn't
> in the language itself.)

I'd vote for this in 1.6.3/1.7. I've found myself wanting it too.


Dave