Sha256: cc79f78525187d88106511f4b35e36de5fdd266ca45381790d3a1cea68f314f5

Contents?: true

Size: 373 Bytes

Versions: 5

Compression:

Stored size: 373 Bytes

Contents

# frozen_string_literal: true

require_relative 'name_th'

module FFaker
  module NameTHEN
    extend ModuleUtils
    extend self

    def first_name
      fetch_sample(FIRST_NAMES)
    end

    def last_name
      fetch_sample(LAST_NAMES)
    end

    def nick_name
      fetch_sample(NICK_NAMES)
    end

    def name
      "#{first_name} #{last_name}"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ffaker-2.23.0 lib/ffaker/name_th_en.rb
ffaker-2.22.0 lib/ffaker/name_th_en.rb
ffaker-2.21.0 lib/ffaker/name_th_en.rb
ffaker-2.20.0 lib/ffaker/name_th_en.rb
ffaker-2.19.0 lib/ffaker/name_th_en.rb