0.0
No commit activity in last 3 years
No release in over 3 years
Provides proper name capitalization via String#namecase
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

Runtime

 Project Readme

String::Namecase

Gem Version Build Status

Simple proper name capitalization that handles (most) edge cases.

PRs are welcome for any cases that were missed!

Installation

Add this line to your application's Gemfile:

gem 'string-namecase'

And then execute:

$ bundle

Or install it yourself as:

$ gem install string-namecase

Usage

require 'string/namecase'
"JoHn O'NEILL".namecase # => "John O'Niell"
"jorge de la rosa".namecase # => "Jorge de la Rosa"

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/kenaniah/string-namecase.