Hacker News new | past | comments | ask | show | jobs | submit login

Isn't the elvis operator || in ruby? see http://stackoverflow.com/a/7816041/613240



Yes, but I think that syntax is a little ugly, see https://news.ycombinator.com/item?id=8916893




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: