Sha256: 73f0bae88bd0bccb377ad6ebed34c15e368283e2c864ef303e6915937ecf52b7

Contents?: true

Size: 428 Bytes

Versions: 10

Compression:

Stored size: 428 Bytes

Contents

# encoding: utf-8

module FFaker
  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

10 entries across 10 versions & 1 rubygems

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