module FFaker::NameUA
def first_name
def first_name fetch_sample(FIRST_NAMES) end
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 last_name_female
def last_name_female fetch_sample(LAST_NAMES_FEMALE) end
def last_name_male
def last_name_male fetch_sample(LAST_NAMES_MALE) end
def middle_name_female
def middle_name_female fetch_sample(MIDDLE_NAMES_FEMALE) end
def middle_name_male
def middle_name_male fetch_sample(MIDDLE_NAMES_MALE) end
def name
def name case rand(0..7) when 0 then first_name_male when 1 then first_name_female when 2 then "#{first_name_male} #{middle_name_male}" when 3 then "#{first_name_female} #{middle_name_male}" when 4 then "#{last_name_male} #{first_name_male}" when 5 then "#{last_name_female} #{first_name_female}" when 6 then "#{last_name_male} #{first_name_male} #{middle_name_male}" when 7 then "#{last_name_female} #{first_name_female} #{middle_name_female}" end end