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.
Required Ruby Version
None
Authors
tucker
Versions
-
0.3.0
-
source
- 0.3.0 source July 31, 2012 (11 KB)
-
-
0.2.1
-
source
- 0.2.1 source May 25, 2011 (10.5 KB)
-
-
0.2.0
-
source
- 0.2.0 source May 24, 2011 (10.5 KB)
-
-
0.1.2
-
source
- 0.1.2 source May 22, 2011 (8 KB)
-
-
0.1.1
-
source
- 0.1.1 source May 20, 2011 (8 KB)
-