Sha256: 76a2cb101ef48b462871108bc7c915b4ddc29357a4c8a0de9be760fa486b0503

Contents?: true

Size: 379 Bytes

Versions: 12

Compression:

Stored size: 379 Bytes

Contents

# frozen_string_literal: true

module FFaker
  module NameKR
    extend ModuleUtils
    extend self

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

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

    def first_name
      fetch_sample(FIRST_NAMES)
    end

    def last_name
      fetch_sample(LAST_NAMES)
    end

    alias last_first name
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ffaker-2.23.0 lib/ffaker/name_kr.rb
ffaker-2.22.0 lib/ffaker/name_kr.rb
ffaker-2.21.0 lib/ffaker/name_kr.rb
ffaker-2.20.0 lib/ffaker/name_kr.rb
ffaker-2.19.0 lib/ffaker/name_kr.rb
ffaker-2.18.0 lib/ffaker/name_kr.rb
ffaker-2.17.0 lib/ffaker/name_kr.rb
ffaker-2.16.0 lib/ffaker/name_kr.rb
ffaker-2.15.0 lib/ffaker/name_kr.rb
ffaker-2.14.0 lib/ffaker/name_kr.rb
ffaker-2.13.0 lib/ffaker/name_kr.rb
ffaker-2.12.0 lib/ffaker/name_kr.rb