RubyGems.org

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.

installgem install ruby-contract
Authors

Florian Gross

1,345 total downloads 1,344 for this version
Owners

0d7916ffd034a2bcdfbb384022bcdb14

Gemfile
gem 'ruby-contract', '~> 0.1.1'
Versions
  1. 0.1.1 February 15, 2005 (95.5 KB)