Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A ruby library to parse people names into parts and reformat them.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 lib
Octocat-spinner-32 script
Octocat-spinner-32 spec
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 History.txt
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.rdoc
Octocat-spinner-32 Rakefile
Octocat-spinner-32 TODO
Octocat-spinner-32 VERSION
Octocat-spinner-32 nameable.gemspec
README.rdoc

nameable

A gem that provides parsing and output of people's names.

A person's name is trivial when you validate the input at data entry time. That is not always possible, and for my enterprise it is almost never possible.

References: www.onlineaspect.com/2009/08/17/splitting-names/

require “nameable”

n = Nameable::Latin.new.parse(“Mr. Chris K Horn Esquire”)

puts n.prefix

puts n.first

puts n.middle

puts n.last

puts n.suffix

puts n.to_fullname

-chorn

Something went wrong with that request. Please try again.