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
- Fork it ( https://github.com/[my-github-username]/vailid/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request