In Files

Included Modules

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.