Skip to content

guyas/vailid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vailid

Validates an Israeli id number for length and proper checksum

Installation

Add this line to your application's Gemfile:

gem 'vailid'

And then execute:

$ bundle

Or install it yourself as:

$ gem install vailid

Usage

after installing, require and then go crazy with "Vailid.valid?(GOCRAZY)", just don't forget to replace the latter with an integer.

Contributing

  1. Fork it ( https://github.com/[my-github-username]/vailid/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

About

a tiny ruby gem for validating IL id numbers

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages