module FFaker::NameSN
def first_name_female
def first_name_female fetch_sample(FIRST_NAMES_FEMALE) end
def first_name_male
def first_name_male fetch_sample(FIRST_NAMES_MALE) end
def last_name
def last_name fetch_sample(LAST_NAMES) end
def name_female
def name_female case rand(0..9) when 5, 7 then "#{prefix_female} #{first_name_female} #{last_name}" else "#{first_name_female} #{last_name}" end end
def name_male
def name_male case rand(0..9) when 5, 7 then "#{prefix_male} #{first_name_male} #{last_name}" else "#{first_name_male} #{last_name}" end end
def name_sn
def name_sn case rand(0..5) when 0 then "#{prefix_female} #{first_name_female} #{last_name}" when 1 then "#{prefix_male} #{first_name_male} #{last_name}" when 2, 4 then "#{first_name_male} #{last_name}" when 3, 5 then "#{first_name_female} #{last_name}" end end
def prefix_female
def prefix_female fetch_sample(PREFIX_FEMALE) end
def prefix_male
def prefix_male fetch_sample(PREFIX_MALE) end