class FactoryHelper::Name
Public Class Methods
female_first_name()
click to toggle source
# File lib/factory-helper/name.rb, line 28 def female_first_name fetch('name.female_first_name') end
first_name()
click to toggle source
# File lib/factory-helper/name.rb, line 12 def first_name parse('name.first_name') end
last_name()
click to toggle source
# File lib/factory-helper/name.rb, line 16 def last_name fetch('name.last_name') end
male_first_name()
click to toggle source
# File lib/factory-helper/name.rb, line 32 def male_first_name fetch('name.male_first_name') end
name()
click to toggle source
# File lib/factory-helper/name.rb, line 8 def name parse('name.name') end
prefix()
click to toggle source
# File lib/factory-helper/name.rb, line 20 def prefix fetch('name.prefix') end
suffix()
click to toggle source
# File lib/factory-helper/name.rb, line 24 def suffix fetch('name.suffix') end
title()
click to toggle source
Generate a buzzword-laden job title Wordlist from www.bullshitjob.com/title/
# File lib/factory-helper/name.rb, line 38 def title fetch('name.title.descriptor') + ' ' + fetch('name.title.level') + ' ' + fetch('name.title.job') end