Class: GeneratePassword
- Inherits:
-
Object
- Object
- GeneratePassword
- Defined in:
- lib/renuo/cli/app/generate_password.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
6 7 8 |
# File 'lib/renuo/cli/app/generate_password.rb', line 6 def run say SecureRandom.base64(200).gsub(%r{[+/=]}, "")[0...100] end |