Hi,

At Mon, 15 Jan 2007 20:30:08 +0900,
Josselin wrote in [ruby-talk:234078]:
> I got the following error :
> 
> parse error, unexpected tUMINUS_NUM
> 
>   userCredential.flagged? ? return -1 : return 1
> 
> what's wrong ?

Because `return' is a statement.  In Ruby, a "statement" is
defined as an expression which has lower precedence and can't
appear directly in another expression.

-- 
Nobu Nakada