Sha256: 4b4350ae06711994eeaf26f7291672a5331caea9ac2d5354a39ed901d71d14df
Contents?: true
Size: 256 Bytes
Versions: 9
Compression:
Stored size: 256 Bytes
Contents
module VGen class LowerLetterGen def initialize(only: ("A".."Z"), except: []) @only, @except = only, except end def call() (@only.to_a.map(&:downcase) - @except.to_a.map(&:downcase)) .sample end end end
Version data entries
9 entries across 7 versions & 2 rubygems