class Stream::EmptyStream

A Singleton class for an empty stream. EmptyStream.instance is the sole instance which answers true for both at_end? and at_beginning?