From: gabriele renzi Date: 2005-12-28T01:32:54+09:00 Subject: Re: [ANN] (Real) Primitive Ruby Generics support Isaac Devine ha scritto: > Hi all, > > I have been hacking away to create a simple library that adds > generics-like qualities to ruby. At the moment you can define methods > with type-matches, defaults if no match and different number of > argument matches. Currently thinking about adding pattern-matching > support from eigenclass blog. Depends on ruby facets. > > Usage examples (Tests) are at the bottom. > Any suggestions, comments, flames ;-) ? > > thanks, > Isaac Devine I think you could be intererested in the StrongTyping module http://raa.ruby-lang.org/project/strongtyping/