Sha256: 26c9f0f7eb0e18a5056b812831824732b6c64aea99a1be519a6039e82195222a
Contents?: true
Size: 345 Bytes
Versions: 11
Compression:
Stored size: 345 Bytes
Contents
require 'pp' require 'rubygems' require 'openwfe/util/kotoba' 3.times do i = (rand * 1000000).to_i s = Kotoba::from_integer i puts "#{i} => #{s}" puts "#{s} => #{Kotoba::to_integer(s)}" # forth and back a = Kotoba::split s print "#{s} => "; pp a # showing how the 'word' is split puts "." end
Version data entries
11 entries across 11 versions & 2 rubygems