Sha256: 4ba708123a0863ad11d7461fc264045068529d352012f131a48abc88f06cdd92

Contents?: true

Size: 372 Bytes

Versions: 9

Compression:

Stored size: 372 Bytes

Contents

class Forgery::Personal < Forgery

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

  def self.abbreviated_gender
    gender[0,1]
  end

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

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

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

end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
forgery-0.8.1 lib/forgery/forgery/personal.rb
forgery-0.7.0 lib/forgery/forgery/personal.rb
forgery-0.6.0 lib/forgery/forgery/personal.rb
forgery-0.5.0 lib/forgery/forgery/personal.rb
forgery-0.4.4 lib/forgery/forgery/personal.rb
forgery-0.4.3 lib/forgery/forgery/personal.rb
forgery-0.4.2 lib/forgery/forgery/personal.rb
forgery-0.4.1 lib/forgery/forgery/personal.rb
forgery-0.4.0 lib/forgery/forgery/personal.rb