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 name as individual ;TI"Hlines, and returns those lines in an array. Lines are separated by ;TI"sep.;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 IO.read
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