Project

tokenizr

0.0
No commit activity in last 3 years
No release in over 3 years
This rubygem does not have a description or summary.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
 Project Readme

Tokenizr

Creates alpha tokens from numbers, and vice versa

Tokenizr.encode(123)         # => "5IbEL8X9e"

Tokenizr.decode("5IbEL8X9e") # => 123

A token can also be tested for validity:

Tokenizr.valid_token?("5IbEL8X9e") # => true
Tokenizr.valid_token?(nil)         # => false

Contributing

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