Module: Birth

Included in:
Person
Defined in:
lib/magister/types/person.rb

Overview

Module used in the #person class

Since:

  • 1.2.0

Instance Method Summary collapse

Instance Method Details

#day ⇒ String

The birthday of the person

Returns:

  • (String) —

    birthday

Since:

  • 1.2.0



11
12
13
# File 'lib/magister/types/person.rb', line 11

def day
    @birthDay
end

#lastName ⇒ String

The persons last name given at birth

Returns:

  • (String) —

    name

Since:

  • 1.2.0



17
18
19
# File 'lib/magister/types/person.rb', line 17

def lastName
    @birthLastName
end

#preposition ⇒ String

The persons preposition given at birth

Returns:

  • (String) —

    preposition

Since:

  • 1.2.0



23
24
25
# File 'lib/magister/types/person.rb', line 23

def preposition
    @birthnamePreposition
end

#use ⇒ Boolean

Wether or not to use the users birth name

Returns:

  • (Boolean) —

    use birth name

Since:

  • 1.2.0



29
30
31
# File 'lib/magister/types/person.rb', line 29

def use
    @useBirthname
end

#useBirthname ⇒ Boolean

Wether or not to use the users birth name

Returns:

  • (Boolean) —

    use birth name

Since:

  • 1.2.0



35
36
37
# File 'lib/magister/types/person.rb', line 35

def useBirthname
    @useBirthname
end