/namecase

Properly case people's names

Primary LanguageRubyGNU General Public License v2.0GPL-2.0

https://rubygems.org/gems/namecase

Description

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("RON BURGUNDY")  # => Ron Burgundy
NameCase("MCDONALDS")     # => McDonalds

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 (c) Mark Summerfield 1998-2002. summer@perlpress.com All Rights Reserved

Ruby Version: Copyright (c) Aaron Patterson 2006

License

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