Sha256: 2f26355840a83ba65a24d7bfa7142504fb51fa6edcd9ad72548c70ff22eeb5d1

Contents?: true

Size: 322 Bytes

Versions: 1

Compression:

Stored size: 322 Bytes

Contents

# frozen_string_literal: true

module FFakerTW
  # https://ja.wikipedia.org/wiki/%E6%80%A7_(%E7%94%9F%E7%89%A9%E5%AD%A6)
  module GenderJA
    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_ja.rb