You just need to avoid ambiguous code layout. Don't let Ruby's sweet 
syntax make you lazy.

x ? ( a, b = b, a ) : ( a, b = a + 1, b + 1 )

-- 
Posted via http://www.ruby-forum.com/.