RAA - strongtyping/2.0.6b

strongtyping / 2.0.6b

Short description: Parameter checking, method overloading, and querying
Category: Library/Syntax
Status: Stable
Created: 2002-12-31 15:00:00 GMT
Last update: -
Owner: Ryan Pavlik (Projects of this owner)
Homepage: http://mephle.org/StrongTyping/
Download: http://mephle.org/StrongTyping/strongtyping-2.0.6b.tar.gz
License: LGPL
Dependency:
Required by: html-table/1.3.2 strong typing utilities for Ruby
Description:

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. ;-)

Edit this project (for project owner)

back to RAA top