4 ms·
I've used contracts any time this type of thing was necessary. https://github.com/egonSchiele/contracts.ruby https://github.com/egonSchiele/contracts.ruby
by poorman 7y ago
I've used contracts any time this type of thing was necessary. https://github.com/egonSchiele/contracts.ruby https://github.com/egonSchiele/contracts.ruby
- wpride 7y agoWe use Contracts too and are in the process of transitioning to Sorbet. In addition to the same runtime type checking as Contracts, Sorbet offers static type checking (and will re-use your runtime signatures in its static analysis).