Module: FFaker::NameAR
Instance Method Summary
collapse
const_missing, k, luhn_check, underscore, unique
#fetch_sample, #rand, #shuffle
Instance Method Details
#first_name_female ⇒ Object
12
13
14
|
# File 'lib/ffaker/name_ar.rb', line 12
def first_name_female
fetch_sample(FIRST_NAMES_FEMALE)
end
|
#first_name_male ⇒ Object
8
9
10
|
# File 'lib/ffaker/name_ar.rb', line 8
def first_name_male
fetch_sample(FIRST_NAMES_MALE)
end
|
#last_name ⇒ Object
16
17
18
|
# File 'lib/ffaker/name_ar.rb', line 16
def last_name
fetch_sample(LAST_NAMES)
end
|
#name_female ⇒ Object
24
25
26
|
# File 'lib/ffaker/name_ar.rb', line 24
def name_female
"#{first_name_female} #{last_name}"
end
|
#name_male ⇒ Object
20
21
22
|
# File 'lib/ffaker/name_ar.rb', line 20
def name_male
"#{first_name_male} #{last_name}"
end
|