Sha256: b2f55907cca1705e6a84a55c1a5743b0801d2a6b0be2838b870e9ea0d9562e72
Contents?: true
Size: 625 Bytes
Versions: 1
Compression:
Stored size: 625 Bytes
Contents
# Luhnar Implementation of Luhn algorithm for computing checkdigits. ## Installation Add this line to your application's Gemfile: gem 'luhnar' And then execute: $ bundle Or install it yourself as: $ gem install luhnar ## Usage require 'luhnar' Luhnar.compute('8900123456789012345') # or Luhnar.compute(8900123456789012345) # return 6 ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Added some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
luhnar-1.0.0 | README.md |