Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 540 Bytes

relationship.md

File metadata and controls

20 lines (12 loc) · 540 Bytes

Faker::Relationship

A Faker module for familial relationships.

It might be available in the next version.

Faker::Relationship.familial #=> "Mother" or "Grandmother"

Faker::Relationship.familial('direct') #=> "Mother" or "Brother"

Faker::Relationship.familial('extended') #=> "Grandmother" or "Niece" or "Aunt"

Faker::Relationship.spouse #=> "Husband" or "Wife"

Faker::Relationship.parent #=> "Father" or "Mother"

Faker::Relationship.in_law #=> "Father-in-law"

Faker::Relationship.sibling #=> "Sister" or "Brother"