Sha256: 9cff8b4c284cf7b63dc41a35ebb9e41409dd535d463f8db65a036d3aeb16e26d

Contents?: true

Size: 319 Bytes

Versions: 6

Compression:

Stored size: 319 Bytes

Contents

# encoding: utf-8

module Faker
  module NameJA
    extend ModuleUtils
    extend self

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

    def first_name
      FIRST_NAMES.sample
    end

    def last_name
      LAST_NAMES.sample
    end

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

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
solidus_backend-1.0.0.pre3 vendor/bundle/gems/ffaker-1.32.1/lib/ffaker/name_ja.rb
solidus_backend-1.0.0.pre2 vendor/bundle/gems/ffaker-1.32.1/lib/ffaker/name_ja.rb
solidus_backend-1.0.0.pre vendor/bundle/gems/ffaker-1.32.1/lib/ffaker/name_ja.rb
ffaker-1.32.1 lib/ffaker/name_ja.rb
ffaker-1.32.0 lib/ffaker/name_ja.rb
ffaker-1.31.0 lib/ffaker/name_ja.rb