O'Reilly logo
  • Sean Bolak thinks this is interesting:

max = x > y ? x : y # The conditional operator

From

Cover of The Ruby Programming Language

Note

Just like PHP's ternary operator.