From: Dave Aronson Date: 2011-12-06T01:23:14+09:00 Subject: Re: 'open().each' doesn't close file On Sun, Dec 4, 2011 at 21:47, Joel VanderWerf wrote: > In your case, the "do end" block is passed to the #each call, not to the > #open call. D'oh! You're right, sorry, I glossed right over that. That must be why the "directly" in the previous message, as opposed this being indirect.... -Dave -- LOOKING FOR WORK! What: Ruby (on/off Rails), Python, other modern languages. Where: Northern Virginia, Washington DC (near Orange Line), and remote work. See: davearonson.com (main) * codosaur.us (code) * dare2xl.com (excellence). Specialization is for insects. (Heinlein) - Have Pun, Will Babble! (Aronson)