Sha256: 8c734fb68c483ce7c3b2e520a2425f97aaff1c0df18b79d5f4661c245d96a995

Contents?: true

Size: 336 Bytes

Versions: 13

Compression:

Stored size: 336 Bytes

Contents

class Forgery::Personal < 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

13 entries across 13 versions & 1 rubygems

Version Path
forgery-0.3.12 lib/forgery/forgery/personal.rb
forgery-0.3.11 lib/forgery/forgery/personal.rb
forgery-0.3.10 lib/forgery/forgery/personal.rb
forgery-0.3.9 lib/forgery/forgery/personal.rb
forgery-0.3.8 lib/forgery/forgery/personal.rb
forgery-0.3.7 lib/forgery/forgery/personal.rb
forgery-0.3.6 lib/forgery/forgery/personal.rb
forgery-0.3.5 lib/forgery/forgery/personal.rb
forgery-0.3.4 lib/forgery/forgery/personal.rb
forgery-0.3.3 lib/forgery/forgery/personal.rb
forgery-0.3.2 lib/forgery/forgery/personal.rb
forgery-0.3.1 lib/forgery/forgery/personal.rb
forgery-0.3.0 lib/forgery/forgery/personal.rb