# File lib/fog/core/mock.rb, line 57 def self.random_selection(characters, length) selection = '' length.times do position = rand(characters.length) selection << characters[position..position] end selection end