On Jun 19, 4:30 am, "Robert Dober" <robert.do... / gmail.com> wrote: > On 6/19/07, tsela... / gmail.com <tsela... / gmail.com> wrote: > > > > > No, but they are parsed. And identifiers are made local variables at > > parse time, not at execution time. So if you have an assignment > > anywhere, even in a place that will never actually execute, the > > identifier used in the assignment will be considered a local variable > > by the interpreter. > > > Christophe. > > I guess this can be concluded by what is happening, but is this any > reason to accept this behavior? I honestly do not feel so! I do not feel so either. But, I've also learned that Ruby just has some quirks. Matz wouldn't had done it this way unless there was a very real need to do so. Now, that's not to say he might not have missed a better solution, so it's still worth discussing if anyone has one. T.