Method: Bundler::SecureRandom#alphanumeric
- Defined in:
- lib/bundler/vendor/securerandom/lib/securerandom.rb
#alphanumeric(n = nil, chars: ALPHANUMERIC) ⇒ Object
Compatibility methods for Ruby 3.2, we can remove this after dropping to support Ruby 3.2
55 56 57 58 |
# File 'lib/bundler/vendor/securerandom/lib/securerandom.rb', line 55 def alphanumeric(n = nil, chars: ALPHANUMERIC) n = 16 if n.nil? choose(chars, n) end |