module FFaker::NameCS
def name(for_sex = :random)
FFaker::NameCS.name(:male)
Can be called with explicit sex (:male, :female), like:
Generates random full name which can contain prefix and suffix
def name(for_sex = :random) with_same_sex(for_sex) do case rand(0..9) when 0 then "#{prefix} #{first_name} #{last_name} #{suffix}" when 1..2 then "#{prefix} #{first_name} #{last_name}" else "#{first_name} #{last_name}" end end end