ruby-contract 0.1.1 README

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.

Requirements

  • Ruby >= 1.8.1

Installation

De-compress archive and enter its top directory. Then type:

($ su)
# ruby setup.rb

These simple step installs this program under the default location of Ruby libraries. You can also install files into your favorite directory by supplying setup.rb some options. Try “ruby setup.rb –help”.

License

Dual licensed under GPL and Ruby’s custom license. See COPYING.

Author

Florian Gross, [email protected]