ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- U:RDoc::AnyMethod[iI"readlines:ETI"IO::readlines;TT: privateo: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::BlankLineo; ; [ I"PIf +name+ starts with a pipe character ("|") and the receiver ;TI"Nis the IO class, a subprocess is created in the same way as Kernel#open, ;TI"!and its output is returned. ;TI"UConsider to use File.readlines to disable the behavior of subprocess invocation.;T@o:RDoc::Markup::Verbatim; [ I"$a = File.readlines("testfile") ;TI"%a[0] #=> "This is line one\n" ;TI" ;TI"1b = File.readlines("testfile", chomp: true) ;TI"#b[0] #=> "This is line one" ;TI" ;TI"9IO.readlines("|ls -a") #=> [".\n", "..\n", ...] ;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"=\n, \r, and \r\n ;TI"/will be removed from the end of each line.;T@o; ; [I"=See also IO.read for details about +name+ and 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 File.readlines(name, sep=$/ [, getline_args, open_args]) -> array File.readlines(name, limit [, getline_args, open_args]) -> array File.readlines(name, sep, limit [, getline_args, open_args]) -> array ;T0[I"-(p1, p2 = v2, p3 = v3, p4 = v4, p5 = {});T@6FI"IO;TcRDoc::NormalClass00