Kups v0.1.0 Kups.Person.Male View Source

Functions for generating fake data related to a male person.

Link to this section Summary

Functions

Generates first name of a male person

Generates a full name of a male person

Generates last name of a male person

Link to this section Functions

Generates first name of a male person.

Example

iex> Kups.Person.Male.first_name
  "Juan"
Link to this function full_name(with_middle_initial \\ false) View Source

Generates a full name of a male person.

Accepts a boolean parameter. Defaults to false.

Examples

  iex(1)> Kups.Person.Male.full_name(true)
  "Juan R. Dela Cruz"
  iex(2)> Kups.Person.Male.full_name
  "Juan Dela Cruz"

Generates last name of a male person.

Example

iex> Kups.Person.Male.last_name
  "Dela Cruz"