Sha256: ca662326b43bcb02cb23a4ff3e442a2fb8b7f94b18637ef939a5304b99a2598f

Contents?: true

Size: 256 Bytes

Versions: 1

Compression:

Stored size: 256 Bytes

Contents

# frozen_string_literal: true

module FFakerTW
  module GenderIT
    extend ModuleUtils
    extend self

    GENDERS = %w[maschio femmina].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_it.rb