Sha256: 9c00d824d02808cab1b85ae5e2b90f07f3f5358027914ad4653facf54607244c

Contents?: true

Size: 327 Bytes

Versions: 1

Compression:

Stored size: 327 Bytes

Contents

# frozen_string_literal: true

module FFakerTW
  # Inspirations:
  # https://pl.wikipedia.org/wiki/P%C5%82e%C4%87
  module GenderPL
    extend ModuleUtils
    extend self

    GENDERS = %w[kobieta mężczyzna].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_pl.rb