Method: Gloo::Objs::StringGenerator.alphanumeric
- Defined in:
- lib/gloo/objs/basic/string_generator.rb
.alphanumeric(len = 10) ⇒ Object
Generate a random alphanumeric string.
29 30 31 |
# File 'lib/gloo/objs/basic/string_generator.rb', line 29 def self.alphanumeric len=10 return SecureRandom.alphanumeric( len ) end |