Sha256: d1b83063921cb662b95c1b08e7a32c439117bc60d1829261478ef44ab2fd09ab

Contents?: true

Size: 305 Bytes

Versions: 10

Compression:

Stored size: 305 Bytes

Contents

# encoding: utf-8

module FFaker
  module NameJA
    extend ModuleUtils
    extend self

    def first_name
      fetch_sample(FIRST_NAMES)
    end

    def last_name
      fetch_sample(LAST_NAMES)
    end

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

    alias name last_first
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

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