Wednesday, October 04, 2006

Inflector .NET

Andrew Peters has completed a port of Ruby on Rails Inflector.

From the man himself :
The Inflector primarily allows you to determine the plural or singular of a given word, which can be useful for things like code generation. For example:

Inflector.Pluralize("address");

produces “addresses”. Whereas,

Inflector.Pluralize("species");

yields “species”;


Nice - Hopefully we'll see more of these sorts of tools ported to .NET

0 comments:

Post a Comment