Class: Stream::EmptyStream

### Home Classes Methods

### In Files

- lib/stream.rb

### Parent

Stream::BasicStream

### Methods

- #at_beginning?
- #at_end?

### Included Modules

- Singleton

### Class/Module Index

Quicksearch

- Stream
- Stream::BasicStream
- Stream::CollectionStream
- Stream::ConcatenatedStream
- Stream::EmptyStream
- Stream::EndOfStreamException
- Stream::FilteredStream
- Stream::ImplicitStream
- Stream::IntervalStream
- Stream::MappedStream
- Stream::ReversedStream
- Stream::WrappedStream
- Array
- Enumerable
- Generator
- Object

No matching classes.

# 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

at_beginning?() click to toggle source

    # File lib/stream.rb, line 135
    def at_beginning?; true; end

at_end?() click to toggle source

    # File lib/stream.rb, line 134
    def at_end?; true; end

[Validate]

Generated with the Darkfish Rdoc Generator 2.