Sha256: d2b0da67fd9dbf458f7c39e34f1b91af3e65aa89d6382a8c49027ba48474ccf3

Contents?: true

Size: 260 Bytes

Versions: 1

Compression:

Stored size: 260 Bytes

Contents

# frozen_string_literal: true

module FFakerTW
  module GenderID
    extend ModuleUtils
    extend self

    GENDERS = %w[laki-laki perempuan].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_id.rb