class Helpers::StreamView
View of a stream that ends when eof? is true
Public Class Methods
new(stream)
click to toggle source
Calls superclass method
Helpers::BaseStreamView::new
# File lib/file_data/helpers/stream_view.rb, line 41 def initialize(stream) super(stream, 0) end
Public Instance Methods
eof?()
click to toggle source
# File lib/file_data/helpers/stream_view.rb, line 45 def eof? @stream.eof? end