David West
David West

Reputation: 2328

Existing ruby method that converts abbreviated US state names to full state names

Does anybody know if any common Ruby libraries have this capability?

For example

'AZ'.to_full_state
=> 'Arizona'

Upvotes: 1

Views: 1120

Answers (1)

Sagar Pandya
Sagar Pandya

Reputation: 9498

Try the madison gem, available at Rubygems.

Upvotes: 2

Related Questions