D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby34
/
share
/
ri
/
system
/
Kernel
/
Filename :
readline-i.ri
back
Copy
U:RDoc::AnyMethod[iI" readline:ETI"Kernel#readline;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"JEquivalent to method Kernel#gets, except that it raises an exception ;TI" if called at end-of-stream:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"3$ cat t.txt | ruby -e "p readlines; readline" ;TI"N["First line\n", "Second line\n", "\n", "Fourth line\n", "Fifth line\n"] ;TI"3in `readline': end of file reached (EOFError) ;T:@format0o; ; [I"IOptional keyword argument +chomp+ specifies whether line separators ;TI"are to be omitted.;T: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"�readline(sep = $/, chomp: false) -> string readline(limit, chomp: false) -> string readline(sep, limit, chomp: false) -> string ;T0[ I"(*args);T@FI"Kernel;TcRDoc::NormalModule00