From: pat eyler Date: 2005-12-08T01:04:33+09:00 Subject: small question about ruby -c interesting little bug (I think) 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 went ahead and ran the script (with the 'otherwise' change) and got: -- primes_with_error.rb:29: undefined local variable or method `otherwise' for main:Object (NameError) from primes_with_error.rb:25:in `each' from primes_with_error.rb:25 Any reason that ruby -c didn't catch this? thanks, -pate -------------------------