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/.