Skimming the docs, it's interesting to see that they allow you to return values inside a void function: https://sorbet.org/docs/sigs The value is thrown away by their signature wrappers though.