Skip to content

isabella232/e164.rb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E164

A clone of remind101/e164.js using the awesome power of regex.

Run rake rebuild to bring this module into sync with e164.js.

Usage

> E164::lookup('14032347847')
 => ["CA", "Canada"]

Just like the real e164.js, you should strip all non-numeric characters before performing the lookup.

About

e164.js but ruby

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%