ruby-contract provides support for describing and using types via unit-tests. It offers support for specifying contracts (Contract), method signature checks (Module#signature), automatic adaption between types (Kernel#adaption) and integration with the classic message- and class-based typing.
Required Ruby Version
>= 1.8.1
Authors
Florian Gross
Versions
- 0.1.1 February 15, 2005* (95.5 KB)