module RandomUtil

Public Class Methods

randstr(len=8) click to toggle source
# File lib/random_util.rb, line 4
def RandomUtil.randstr(len=8)
  (0...len).map { (65 + rand(26)).chr }.join
end