From: Patrick Hurley Date: 2005-12-08T01:11:50+09:00 Subject: Re: small question about ruby -c On 12/7/05, pat eyler wrote: > When generating the answer to a previous email, I ran ruby -c against > a script and got 'syntax ok'. (as expected) I then changed an > if/else/end to if/otherwise/end, ran ruby -c again, and got 'syntax > ok'. (not as expected). I can't see your code, but my guess is that the ruby interpreter figured that otherwise is a function (not an accidental name for else), so it is good syntax, even though there is a runtime error for the missing method/variable name. pth