[ 源代码: ruby-contracts ]
软件包:ruby-contracts(0.17-2)
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.