From: Curt Hibbs Date: 2004-06-09T03:59:49+09:00 Subject: Re: [ANN] Ruby/Interface Sean O'Dell wrote: > > Ruby/Interface 0.1-1 > > Homepage/Documentation: http://interface.rubyforge.org/ > > > === PURPOSE > > 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. Very nice... I like it! Curt