Hi,

In message "[ruby-talk:03107] Dir.foreach"
    on 00/06/06, Dave Thomas <Dave / thomases.com> writes:

|Currently Dir.foreach returns a (closed) Dir object.
|
|In keeping with the consistent semantics of File.open, should it not
|now return nil?
|
|    File.open()     -> aFile
|    File.open() { } -> nil
|    Dir.new()       -> aDir
|    Dir.foreach {}  -> ?

Yeah, right.

							matz.