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, 2005This gem version was imported to RubyGems.org on July 25, 2009. The date displayed was specified by the author in the gemspec. (95.5 KB)