Sha256: 78dcc1c409378d6d02d0739df5d50294421df4489f65eefa7e783cd84ba1d602

Contents?: true

Size: 478 Bytes

Versions: 7

Compression:

Stored size: 478 Bytes

Contents

== 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: http://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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
nameable-0.5.1 README.rdoc
nameable-0.5.0 README.rdoc
nameable-0.4.2 README.rdoc
nameable-0.4.1 README.rdoc
nameable-0.4.0 README.rdoc
nameable-0.3.0 README.rdoc
nameable-0.2.0 README.rdoc