syntax for one line ruby