Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 550 Bytes

relationship.md

File metadata and controls

17 lines (12 loc) · 550 Bytes

Faker::Relationship

A Faker module for familial relationships.

# Keyword arguments: connection
Faker::Relationship.familial #=> "Mother" or "Grandmother"
Faker::Relationship.familial(connection: 'direct') #=> "Mother" or "Brother"
Faker::Relationship.familial(connection: '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"