Sha256: 53b5424cc89206b324844c1daa8f779da6d1772acf44a6439fe7fde25eb96196
Contents?: true
Size: 529 Bytes
Versions: 8
Compression:
Stored size: 529 Bytes
Contents
# encoding: utf-8 module Faker module Identification extend ModuleUtils extend self def drivers_license Faker.bothify('?###-###-##-###-#').upcase end def ssn Faker.numerify('###-##-####') end def ethnicity ETHNICITIES.rand end def gender GENDERS.rand end ETHNICITIES = k ['African American', 'Asian/Pacific Islander', 'Caucasian', 'Hispanic', 'Native American', 'Multiracial', 'Other', 'Prefer not to respond'] GENDERS = k %w(Male Female) end end
Version data entries
8 entries across 8 versions & 2 rubygems