lib/ffaker/name_cn.rb



# encoding: utf-8

module Faker
  module NameCN
    extend ModuleUtils
    extend self

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

    def first_name
      FIRST_NAMES.rand
    end

    def last_name
      LAST_NAMES.rand
    end

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