Flowdock
readlines(...) public

Reads the entire file specified by name as individual lines, and returns those lines in an array. Lines are separated by sep_string.

   a = IO.readlines("testfile")
   a[0]   #=> "This is line one\n"
Show source
Register or log in to add new notes.