[ 原始碼: ruby-contracts ]
套件:ruby-contracts(0.17-1)
Contracts (a assert like) for Ruby
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.