From: John-John Tedro Date: 2011-08-14T23:57:34+09:00 Subject: Re: Problem with Files --0016e64353645683d004aa785682 Content-Type: text/plain; charset=ISO-8859-1 On Sun, Aug 14, 2011 at 4:37 PM, amir e. wrote: > Hi > I don't understand meaning of thing that , this code return : > > File.open("a.txt")do |i| > puts i > end > > please explain me. > and please explain me what is the difference between that code and below > code : > > File.open("a.txt").each do |i| > puts i > end > > > thanks > > -- > Posted via http://www.ruby-forum.com/. > --0016e64353645683d004aa785682--