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

I think you mean this

(x = Post.first) ? do_foo(x) : do_bar




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: