StringNamify
StringNamify is a simple ruby gem to allow to namify even names with apostrophe, such as Andrea O'Rampin.
Installation
Add this line to your application's Gemfile:
gem 'string_namify'
And then execute:
$ bundle
Or install it yourself as:
$ gem install string_namify
Usage
"andrea o'rampin".namify # => Andrea O'Rampin
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/andrearampin/string_namify.
It is open source software and may be redistributed under the MIT-License terms (the licence file can be found in the root directory of this repository).