Sha256: a8743755b6cb8fba4d7c86b45205e7737fc17c2863bcf51fb2a818f29c2791aa

Contents?: true

Size: 387 Bytes

Versions: 1

Compression:

Stored size: 387 Bytes

Contents

# frozen_string_literal: true

module FFakerTW
  # Source: http://www.thai-language.com/
  module NameTH
    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

1 entries across 1 versions & 1 rubygems

Version Path
ffakerTW-0.1.0 lib/ffakerTW/name_th.rb