Module: FFaker::NameJA

Extended by:
ModuleUtils, NameJA
Included in:
NameJA
Defined in:
lib/ffaker/name_ja.rb

Instance Method Summary collapse

Methods included from ModuleUtils

const_missing, k, underscore

Instance Method Details

#first_nameObject



8
9
10
# File 'lib/ffaker/name_ja.rb', line 8

def first_name
  FIRST_NAMES.sample
end

#last_firstObject Also known as: name



16
17
18
# File 'lib/ffaker/name_ja.rb', line 16

def last_first
  "#{last_name}#{first_name}"
end

#last_nameObject



12
13
14
# File 'lib/ffaker/name_ja.rb', line 12

def last_name
  LAST_NAMES.sample
end