Sha256: c65d1dfceb6afbc738c56b13e7d6852f3c0ec39489624cbe59212a04bf6237fc

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 Bytes

Contents

# frozen_string_literal: true

module FFakerTW
  module NameVN
    extend ModuleUtils
    extend self

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

    def first_name
      fetch_sample(FIRST_NAMES)
    end

    def last_name
      fetch_sample(LAST_NAMES)
    end

    def middle_name
      fetch_sample(MIDDLE_NAMES)
    end

    def last_first
      "#{last_name} #{middle_name} #{first_name}"
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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