Class: String

Inherits:
Object
  • Object
show all
Defined in:
lib/opens3/tools.rb

Instance Method Summary collapse

Instance Method Details

#random_stringObject



2
3
4
# File 'lib/opens3/tools.rb', line 2

def random_string
	(0...8).map{65.+(rand(25)).chr}.join
end