NameCase

Version 1.0.0 - 2005/11/2

Original version by Mark Summerfield <search.cpan.org/~summer/> Ruby port by Aaron Patterson <[email protected]>

NameCase is a Ruby implementation of Lingua::EN::NameCase, a library for converting strings to be properly cased. This is good for converting denormalized data to human friendly data.

  • Example Usage

NameCase is a subclass of Ruby’s String, and can be used similarly:

string = NameCase.new( string )
puts string.nc
puts string.nc!
  • Acknowledgements

This library is a port of the Perl library, and owes most of its functionality to the Perl version by Mark Summerfield. Any bugs in the Ruby port are my fault.

  • Author

Original Version: Copyright © Mark Summerfield 1998-2002. <[email protected]> All Rights Reserved

Ruby Version: Copyright © Aaron Patterson 2005

  • License

NameCase is distributed under the GPL license. Please see the LICENSE file.