lib/forgery/forgery/personal.rb in forgery-0.3.12 vs lib/forgery/forgery/personal.rb in forgery-0.4.0
- old
+ new
@@ -1,23 +1,23 @@
class Forgery::Personal < Forgery
def self.gender
- dictionaries[:genders].random
+ dictionaries[:genders].random.unextend
end
def self.abbreviated_gender
gender[0,1]
end
def self.shirt_size
- dictionaries[:shirt_sizes].random
+ dictionaries[:shirt_sizes].random.unextend
end
def self.race
- dictionaries[:races].random
+ dictionaries[:races].random.unextend
end
def self.language
- dictionaries[:languages].random
+ dictionaries[:languages].random.unextend
end
end