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?
Public Instance Methods
Source
# File lib/stream.rb 180 def basic_backward 181 raise EndOfStreamException 182 end
Source
# File lib/stream.rb 176 def basic_forward 177 raise EndOfStreamException 178 end