Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby21
/
share
/
ri
/
2.1.0
/
system
/
IO
/
//opt/alt/ruby21/share/ri/2.1.0/system/IO/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" ;T:@format0o; ; [I"HIf the last argument is a hash, it's the keyword argument to open. ;TI")See <code>IO.read</code> for detail.;T: @fileI" io.c;T:0@omit_headings_from_table_of_contents_below0I"�IO.readlines(name, sep=$/ [, open_args]) -> array IO.readlines(name, limit [, open_args]) -> array IO.readlines(name, sep, limit [, open_args]) -> array ;T0[ I"-(p1, p2 = v2, p3 = v3, p4 = v4, p5 = {});T@FI"IO;TcRDoc::NormalClass00