Sha256: 9dae351d989a5c8b8aba3a5f24b1b0c05dc2a28e02626fc6bc7979e1bbb05b34
Contents?: true
Size: 518 Bytes
Versions: 29
Compression:
Stored size: 518 Bytes
Contents
contracts.ruby brings code contracts to the Ruby language. Example: ```ruby class Example include Contracts::Core C = Contracts Contract C::Num, C::Num => C::Num def add(a, b) a + b end end ``` This documentation is [open source](https://github.com/egonSchiele/contracts.ruby/tree/master/features). If you find it incomplete or confusing, please [submit an issue](https://github.com/egonSchiele/contracts.ruby/issues), or, better yet, [a pull request](https://github.com/egonSchiele/contracts.ruby).
Version data entries
29 entries across 20 versions & 5 rubygems