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