░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/usr/share/ri/3.1.0/system/EOFError
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: cdesc-EOFError.ri
U:RDoc::NormalClass[iI" EOFError:ET@I"IOError;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"IRaised by some IO operations when reaching the end of file. Many IO ;TI" methods exist in two forms,;To:RDoc::Markup::BlankLine o; ;[I"Gone that returns +nil+ when the end of file is reached, the other ;TI"raises +EOFError+.;T@o; ;[I"++EOFError+ is a subclass of +IOError+.;T@o:RDoc::Markup::Verbatim;[ I"$file = File.open("/etc/hosts") ;TI"file.read ;TI"file.gets #=> nil ;TI"4file.readline #=> EOFError: end of file reached;T:@format0: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0; 0;0[ [ [ [[I" class;T[[:public[ [:protected[ [:private[ [I" instance;T[[;[ [;[ [;[ [ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[@@cRDoc::TopLevel
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 cdesc-EOFError.ri
RI
851 B
2025-10-01 20:48
EDIT