From: Farrel Lifson Date: 2006-11-24T06:11:21+09:00 Subject: Re: unexpected kEND, expecting $ On 23/11/06, Comfort Eagle wrote: > a = IO.readlines('testparsed') > > a.each do |groupname| > filename = groupname.chomp > File.open filename > puts data > end > end > > Why does this give me: "parse error, unexpected kEND, expecting $" for > the line with the last 'end'? > > -- > Posted via http://www.ruby-forum.com/. > > File.open filename do Farrel