public
Rubygem
Description: Easy and customizable generation of forged data.
Homepage: http://sevenwire.com
Clone URL: git://github.com/sevenwire/forgery.git
Adding full_name to name forgery.
brandonarbini (author)
Thu Jul 24 04:52:29 -0700 2008
commit  02a8180031cd4207bdac710b506b4f904882d4e6
tree    5fc6aef5d4cc3741a874048feb03f3e881a0ae82
parent  6372c667987494e1f8c8bfec4e94b28fe0c9f72f
...
9
10
11
 
 
 
 
12
13
14
...
9
10
11
12
13
14
15
16
17
18
0
@@ -9,6 +9,10 @@ class NameForgery < Forgery
0
     [MALE_FIRST_NAMES, FEMALE_FIRST_NAMES].random.random
0
   end
0
 
0
+ def self.full_name
0
+ "#{self.first_name} #{self.last_name}"
0
+ end
0
+
0
   def self.male_first_name
0
     MALE_FIRST_NAMES.random
0
   end

Comments

    No one has commented yet.