Class: String
Class Method Summary collapse
Class Method Details
.random_of_length(length) ⇒ Object
12 13 14 |
# File 'lib/support/core_extensions.rb', line 12 def self.random_of_length length length.times.inject("") {|str| str << (rand(26) + 97).chr } end |