⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.13
Server IP:
109.199.105.153
Server:
Linux connect.inboxifs.com 5.15.0-152-generic #162-Ubuntu SMP Wed Jul 23 09:48:42 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.2.29
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
IO
/
View File Name :
readlines-c.ri
U:RDoc::AnyMethod[iI"readlines:ETI"IO::readlines;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"BReads the entire file specified by <i>name</i> as individual ;TI"Hlines, and returns those lines in an array. Lines are separated by ;TI"<i>sep</i>.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [ I""a = IO.readlines("testfile") ;TI"%a[0] #=> "This is line one\n" ;TI" ;TI"/b = IO.readlines("testfile", chomp: true) ;TI"#b[0] #=> "This is line one" ;T:@format0o; ; [I"GIf the last argument is a hash, it's the keyword argument to open.;T@S:RDoc::Markup::Heading: leveli: textI"Options for getline;T@o; ; [I"1The options hash accepts the following keys:;T@o:RDoc::Markup::List: @type: NOTE:@items[o:RDoc::Markup::ListItem:@label[I":chomp;T; [o; ; [I"BWhen the optional +chomp+ keyword argument has a true value, ;TI"=<code>\n</code>, <code>\r</code>, and <code>\r\n</code> ;TI"/will be removed from the end of each line.;T@o; ; [I"2See also IO.read for details about open_args.;T: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"�IO.readlines(name, sep=$/ [, getline_args, open_args]) -> array IO.readlines(name, limit [, getline_args, open_args]) -> array IO.readlines(name, sep, limit [, getline_args, open_args]) -> array ;T0[ I"-(p1, p2 = v2, p3 = v3, p4 = v4, p5 = {});T@.FI"IO;TcRDoc::NormalClass00