From: Abder-Rahman Ali on
Eric MSP Veith wrote:
> On Tuesday 06 July 2010 15:22:52, Abder-rahman Ali wrote:
>> whathappened.rb:3: syntax error, unexpected kIF, expecting kWHEN
>> if 1990 === year
>> ^
>
> Simple syntax error -- you have a stray "case" statement still in your
> file,
> so ruby expects at least one "when" clause following (kWHEN), but
> instead
> encounters an "if" clause (kIF).
>
> Eric

Thanks a lot Eric.
--
Posted via http://www.ruby-forum.com/.