From: Bihal Date: 2006-04-10T16:17:25+09:00 Subject: Re: Ruby Grammar - "do" Thanks Hal, that explains it. Jeff Coleman wrote: > > Isn't it just resolving the previous do? > > It's calling the operation: > > [ > "title", > ...etc... > "cloud", > ].delete_if do |x| > send(x).nil? > end > > And then calling the "collect" method for the result of that operation. > > Jeff It is. I mis-read the code and wasted an afternoon. The Ruby editor I was using didn't highlight the end. as being the end keyword, and I didn't look too closely. Not that I consider it easy to read anyway. Bihal -- Posted via http://www.ruby-forum.com/.