Sha256: a2459913e8caf057ab97c0b7634737f3782b1fdfe54e7978747ad11fc62a9287

Contents?: true

Size: 248 Bytes

Versions: 1

Compression:

Stored size: 248 Bytes

Contents

# frozen_string_literal: true

module FFakerTW
  module GenderCN
    extend ModuleUtils
    extend self

    GENDERS = %w[男 女].freeze

    def random
      fetch_sample(GENDERS)
    end

    alias maybe random
    alias sample random
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ffakerTW-0.1.0 lib/ffakerTW/gender_cn.rb