Generate a string of random characters of length len taken from a pool of characters that don‘t require URL escaping.
[Source]
# File lib/rand.rb, line 10 10: def rand(len) 11: return Array.new(len){(@@pool[Kernel.rand(@@range)]).chr}.join.chomp 12: end
[Validate]