Class: String
- Inherits:
-
Object
- Object
- String
- Defined in:
- lib/opens3/tools.rb
Instance Method Summary collapse
Instance Method Details
#random_string ⇒ Object
2 3 4 |
# File 'lib/opens3/tools.rb', line 2 def random_string (0...8).map{65.+(rand(25)).chr}.join end |