Sha256: e3cba748dcb080ae0d7b09f49892bfc17d4d41091cb7da0dcedfb383bd65ae85

Contents?: true

Size: 427 Bytes

Versions: 1

Compression:

Stored size: 427 Bytes

Contents

# frozen_string_literal: true

module FFakerTW
  module GenderRU
    extend ModuleUtils
    extend self

    GENDERS = %w[мужчина женщина нонбайнари агендер].freeze
    BINARY_GENDERS = %w[мужчина женщина].freeze

    def random
      fetch_sample(GENDERS)
    end

    def binary
      fetch_sample(BINARY_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_ru.rb