||Parameter checking, method overloading, and querying
||2002-12-31 15:00:00 GMT
(Projects of this owner)
This module provides strong typing utilities for ruby. This includes method parameter type checking, automated overloading based on type templates, and querying what types a method accepts (including overloaded methods). Requires very little effort from the programmer. Version 2.0 is now rewritten in C, bringing much better performance, and a few added features.
Changes (2.0.6b): Bugfix: Should work right on gcc again.
Changes (2.0.6a): Bugfixes: A few minor portability things, should compile with non-gcc compilers now.
Changes (2.0.6): Bugfix: Types after a list of types in an expect/overload list are now properly verified.
Changes (2.0.5): Bugfixes: blank arguments return , overload template error now correct; added unit tests, fixed warnings.
Changes (2.0.4): Bugfix for methods with variable or default parameters; they are now handled correctly.
Changes (2.0.3): The overload_default "No template found" error now shows the actual types passed, greatly easing debugging. ;-)