method
random_string
random_string(len)
private
Hide source
# File lib/webrick/utils.rb, line 91 def random_string(len) rand_max = RAND_CHARS.bytesize ret = "" len.times{ ret << RAND_CHARS[rand(rand_max)] } ret end