Module: FFaker::NameJA
Instance Method Summary
collapse
const_missing, k, luhn_check, underscore, unique
#fetch_sample, #rand, #shuffle
Instance Method Details
#first_name ⇒ Object
8
9
10
|
# File 'lib/ffaker/name_ja.rb', line 8
def first_name
fetch_sample(FIRST_NAMES)
end
|
#last_first ⇒ Object
Also known as:
name
16
17
18
|
# File 'lib/ffaker/name_ja.rb', line 16
def last_first
"#{last_name}#{first_name}"
end
|
#last_name ⇒ Object
12
13
14
|
# File 'lib/ffaker/name_ja.rb', line 12
def last_name
fetch_sample(LAST_NAMES)
end
|