class RandString

Constants

SALT_CHARS

Public Class Methods

make_random_string(len) click to toggle source
# File lib/quartz_flow/randstring.rb, line 4
def self.make_random_string(len)
  rc = ""
  len.times{ rc << SALT_CHARS[rand(SALT_CHARS.size)] }
  rc
end