RAA - csinterface/0.5.1

csinterface / 0.5.1

Short description: celsoft.com / Interface
Category: Library/Language
Status: stable
Created: 2004-06-09 01:20:06 GMT
Last update: 2004-06-11 17:57:02 GMT
Owner: sdodell (Projects of this owner)
Homepage: http://interface.rubyforge.org/
Download: http://rubyforge.org/frs/?group_id=266&release_id=530
License: GPL
Dependency:
None
Description:

Ruby/Interface was designed to help developers understand the purpose of Ruby objects encountered at run-time. Ruby is very dynamic, and it is sometimes hard to determine what function any given object serves, and the methods to which it responds to fulfill that function.


Ruby/Interface tries to solve this problem by “tagging” objects as implementing an interface. The implementation is enforced by comparing an object’s methods against the methods expected by the interface. When an object is created from a class which claims to implement an interface, or which includes a module that does, the object is flagged as properly implementing that interface so long as its methods take the same number of parameters as the methods described by the interface.

Versions: [0.6.2 (2004-06-16)] [0.6.1 (2004-06-12)] [0.5.1 (2004-06-11)] [0.3-2 (2004-06-09)]

Edit this project (for project owner)

back to RAA top