Syntax for putting a block on a single line January 5, 2024 by Tarik You need to parenthesize your argument: something('hello') { do_it } That should work.