Skip to content

UpbeatProductions/postkode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

postkode

A gem to validate UK postcodes

INSTALL:

From RubyGems: Gem Version

EXAMPLE USAGE:

require 'postkode'

Postkode.validate('WC2E 7PX') => true

Postkode.validate('NOT A POSTCODE') => false