I get a parse error for the following line:


if (this[x] == this[y] == this[z] and this[x] != '')

Is this not valid Ruby syntax?