Sha256: 7e505a1bc20c0c7b556ea53960b146488e66700e0069c5b08fa9bdfeeeaa3850

Contents?: true

Size: 468 Bytes

Versions: 8

Compression:

Stored size: 468 Bytes

Contents

# frozen_string_literal: true
# encoding: utf-8

module FFaker
  module NameAR
    extend ModuleUtils
    extend self

    def first_name_male
      fetch_sample(FIRST_NAMES_MALE)
    end

    def first_name_female
      fetch_sample(FIRST_NAMES_FEMALE)
    end

    def last_name
      fetch_sample(LAST_NAMES)
    end

    def name_male
      "#{first_name_male} #{last_name}"
    end

    def name_female
      "#{first_name_female} #{last_name}"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ffaker-2.11.0 lib/ffaker/name_ar.rb
ffaker-2.10.0 lib/ffaker/name_ar.rb
ffaker-2.9.0 lib/ffaker/name_ar.rb
ffaker-2.8.1 lib/ffaker/name_ar.rb
ffaker-2.8.0 lib/ffaker/name_ar.rb
ffaker-2.7.0 lib/ffaker/name_ar.rb
ffaker-2.6.0 lib/ffaker/name_ar.rb
ffaker-2.5.0 lib/ffaker/name_ar.rb