Method: Async::IO::Stream#eof!

Defined in:
lib/async/io/stream.rb

#eof!Object

Raises:

  • (EOFError)


241
242
243
244
245
246
# File 'lib/async/io/stream.rb', line 241

def eof!
	@read_buffer.clear
	@eof = true
	
	raise EOFError
end