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

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

Class Method Summary collapse

Class Method Details

.generateObject



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

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