Class: Fog::Compute::Serverlove::PasswordGenerator

Inherits:
Object
  • Object
show all
Defined in:
lib/fog/serverlove/util/compute/password_generator.rb

Class Method Summary collapse

Class Method Details

.generateObject



5
6
7
# File 'lib/fog/serverlove/util/compute/password_generator.rb', line 5

def self.generate
  ('a'...'z').to_a.concat(('A'...'Z').to_a).shuffle[0,8].join
end