Sha256: 993320cc5ba7b8721b10e2e0a6fcc65cd1cad703b3456f3fbff735520fde30b6

Contents?: true

Size: 333 Bytes

Versions: 4

Compression:

Stored size: 333 Bytes

Contents

class PersonalForgery < Forgery

  def self.gender
    dictionaries[:genders].random
  end

  def self.abbreviated_gender
    gender[0,1]
  end

  def self.shirt_size
    dictionaries[:shirt_sizes].random
  end

  def self.race
    dictionaries[:races].random
  end

  def self.language
    dictionaries[:languages].random
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
sevenwire-forgery-0.2.0 lib/forgeries/personal_forgery.rb
sevenwire-forgery-0.2.1 lib/forgeries/personal_forgery.rb
sevenwire-forgery-0.2.2 lib/forgeries/personal_forgery.rb
forgery-0.2.2 lib/forgeries/personal_forgery.rb