Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 473 Bytes

demographic.md

File metadata and controls

20 lines (12 loc) · 473 Bytes

Faker::Demographic

Available since version 1.7.3.

Faker::Demographic.race #=> "Native Hawaiian or Other Pacific Islander"

Faker::Demographic.educational_attainment #=> "GED or alternative credential"

Faker::Demographic.demonym #=> "Panamanian"

Faker::Demographic.marital_status #=> "Widowed"

Faker::Demographic.sex #=> "Female"

Faker::Demographic.height #=> "1.61"

# Keyword arguments: unit
Faker::Demographic.height(unit: :imperial) #=> "6 ft, 2 in"