Sha256: ff9f92fd9f879a830b75ed3e6780584486d9557908fe77308c3eaa0f9b56ce33
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
# Proquint A library for converting numbers to readable, pronounceable, spellable identifiers. See http://arxiv.org/html/0901.4016. ## Installation Add this line to your application's Gemfile: ```ruby gem 'proquint' ``` And then execute: $ bundle Or install it yourself as: $ gem install proquint ## Usage require 'proquint' Proquint.encode(1) #=> "babad" Proquint.encode(1234567890123456) #=> "babah-karij-gufap-rorab" Proquint.encode(0x462d53c8abac0) #=> "babah-karij-gufap-rorab" Proquint.encode(0x1234567890abcdef) #=> "damuh-jinum-nafor-suloz" Proquint.decode("nobol-gonad") #=> [38951, 14913] Proquint.words2num([38951, 14913]) #=> 2552707649 ## Contributing 1. Fork it ( https://github.com/[my-github-username]/proquint/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 [![Build Status](https://travis-ci.org/bjjb/proquint.svg?branch=master)](https://travis-ci.org/bjjb/proquint)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
proquint-0.0.2 | README.md |