RubyGems Navigation menu

preconditions 0.3.0

The Preconditions library provides a simple set of methods for checking arguments being passed into a method. Instead of writing custom checks and raising exceptions directly in your code you can use Preconditions to verify basic properties of your arguments (not-nil, satisfying a boolean expression, being of a certain type/duck-type) and raise the appropriate exception for you.

Gemfile:
= 複製 已複製

安裝:
=

版本列表:

  1. 0.3.0 - July 31, 2012 (11.0 KB)
  2. 0.2.1 - May 25, 2011 (10.5 KB)
  3. 0.2.0 - May 24, 2011 (10.5 KB)
  4. 0.1.2 - May 22, 2011 (8.0 KB)
  5. 0.1.1 - May 20, 2011 (8.0 KB)
顯示所有版本(共 6)

Development 相依性套件 (7):

bluecloth >= 0
bundler ~> 1.0.0
jeweler ~> 1.5.2
rcov >= 0
rspec >= 2.6.0
yard ~> 0.6.0

擁有者:

作者:

  • tucker

SHA 256 checksum:

7847daf9237fb3ad41b48a0c7ebc348c1d4e77510d49083df180179ec1b274f5

總下載次數 129,076

這個版本 113,481

License:

Ruby 版本需求:

相關連結: