Sha256: ca611e6191ad51df64a6880030c5f91cc71119504bf076dfcf5c0994f714eb07

Contents?: true

Size: 145 Bytes

Versions: 3

Compression:

Stored size: 145 Bytes

Contents

module ReallySimpleCaptcha
  module Util
    def self.random_string(length=8)
      (0...length).map{65.+(rand(26)).chr}.join
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
really_simple_captcha-0.1.2 lib/really_simple_captcha/util.rb
really_simple_captcha-0.1.1 lib/really_simple_captcha/util.rb
really_simple_captcha-0.1.0 lib/really_simple_captcha/util.rb