Skip to content

About

Simple IBAN checker gem

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simpleiban-gem

Simple IBAN checker

Usage

Load the lib:

require 'simpleiban'

Create a new IBAN to check:

a = IBAN.new 'GB82 West 12345 69876 5432' # from wikipedia

Is it valid (according to the rules)?

a.valid?

And pretty_print it (as a string):

str = a.to_s
# str = "GB82 WEST 1234 5698 7654 32"

About

Simple IBAN checker gem

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages