Isn't there ternary operator in ruby?