Sha256: 677a77985356103000b1a275175ded648daf7319c89621156b15bb9179e3e558

Contents?: true

Size: 450 Bytes

Versions: 12

Compression:

Stored size: 450 Bytes

Contents

# frozen_string_literal: true

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

12 entries across 12 versions & 1 rubygems

Version Path
ffaker-2.23.0 lib/ffaker/name_ar.rb
ffaker-2.22.0 lib/ffaker/name_ar.rb
ffaker-2.21.0 lib/ffaker/name_ar.rb
ffaker-2.20.0 lib/ffaker/name_ar.rb
ffaker-2.19.0 lib/ffaker/name_ar.rb
ffaker-2.18.0 lib/ffaker/name_ar.rb
ffaker-2.17.0 lib/ffaker/name_ar.rb
ffaker-2.16.0 lib/ffaker/name_ar.rb
ffaker-2.15.0 lib/ffaker/name_ar.rb
ffaker-2.14.0 lib/ffaker/name_ar.rb
ffaker-2.13.0 lib/ffaker/name_ar.rb
ffaker-2.12.0 lib/ffaker/name_ar.rb