`Use def with parentheses when there are arguments.` from [our style section](https://github.com/thoughtbot/guides/tree/master/style) is close, since you're defining a block here.