RubyGems.org

contracts

0.4

This library provides contracts for Ruby. Contracts let you clearly express how your code behaves, and free you from writing tons of boilerplate, defensive code.

installgem install contracts
Authors

Aditya Bhargava

26,420 total downloads 4,907 for this version
Owners

94c84ca1ebf608b7152702f241a37b5d

Gemfile
gem 'contracts', '~> 0.4'
Versions
  1. 0.4 May 8, 2014 (10 KB)
  2. 0.3 June 7, 2012 (9.5 KB)
  3. 0.2.4 June 7, 2012 (9 KB)
  4. 0.2.3 June 7, 2012 (9 KB)
  5. 0.2.2 June 7, 2012 (9 KB)
Show all versions (21 total)
Ruby Dependency
  1. >= 0