From: Pat Maddox Date: 2006-06-23T06:27:51+09:00 Subject: Re: Why is "nil" being included in an array? On 6/22/06, Matthew Smillie wrote: > It's the same bug biting you in a different way: this time, because > #downcase! is evaluated before the call to #rename, it's modifying > the file variable in-place, so #rename is effectively being called > like this: > > File.rename('test', 'test') I had no idea that Ruby evaluated it that way. Thank you for this detailed explanation. Pat