Add ref.; how to use Ruby's ternart operator