Class: DataAnon::Utils::RandomStringCharsOnly

Inherits:
Object
  • Object
show all
Defined in:
lib/utils/random_string_chars_only.rb

Constant Summary collapse

CHARS =
'abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'

Class Method Summary collapse

Class Method Details

.generate(length = nil) ⇒ Object


7
8
9
# File 'lib/utils/random_string_chars_only.rb', line 7

def self.generate length = nil
  RandomString.generate length, CHARS
end