From: George Ogata Date: 2002-07-05T06:15:44+09:00 Subject: Re: File as string Maur�cio wrote: > Hi, > > How can I open a file as a single string (with many \n inside) instead > of as an array of strings? > > Thanks, > Maur�cio Like this?: File.open('filename') {|f| f.read}