Module: FFaker::NameKH
Instance Method Summary
collapse
const_missing, k, luhn_check, underscore, unique
#fetch_sample, #rand, #shuffle
Instance Method Details
#first_name ⇒ Object
16
17
18
|
# File 'lib/ffaker/name_kh.rb', line 16
def first_name
fetch_sample(FIRST_NAMES)
end
|
#last_name ⇒ Object
12
13
14
|
# File 'lib/ffaker/name_kh.rb', line 12
def last_name
fetch_sample(LAST_NAMES)
end
|
#name ⇒ Object
8
9
10
|
# File 'lib/ffaker/name_kh.rb', line 8
def name
"#{last_name} #{first_name}"
end
|
#nick_name ⇒ Object
20
21
22
|
# File 'lib/ffaker/name_kh.rb', line 20
def nick_name
fetch_sample(NICK_NAMES)
end
|