Sha256: edf4b9d1af49c5463d823fc6d5181d0f7b282d1a13ee1b97e1af1c42695342bc

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

class PersonalForgery < Forgery
  dictionaries :races, :languages, :shirt_sizes, :genders

  def self.gender
    GENDERS.random
  end

  def self.abbreviated_gender
    gender[0,1]
  end

  def self.shirt_size
    SHIRT_SIZES.random
  end

  def self.race
    RACES.random
  end

  def self.language
    LANGUAGES.random
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sevenwire-forgery-0.1.0 lib/forgeries/personal_forgery.rb