Parent

Forgery::Name

Public Class Methods

company_name() click to toggle source
# File lib/forgery/forgery/name.rb, line 23
def self.company_name
  dictionaries[:company_names].random.unextend
end
female_first_name() click to toggle source
# File lib/forgery/forgery/name.rb, line 19
def self.female_first_name
  dictionaries[:female_first_names].random.unextend
end
first_name() click to toggle source
# File lib/forgery/forgery/name.rb, line 7
def self.first_name
  Forgery::Extend(dictionaries[:male_first_names] + dictionaries[:female_first_names]).random.unextend
end
full_name() click to toggle source
# File lib/forgery/forgery/name.rb, line 11
def self.full_name
  "#{self.first_name} #{self.last_name}"
end
industry() click to toggle source
# File lib/forgery/forgery/name.rb, line 47
def self.industry
  dictionaries[:industries].random.unextend
end
job_title() click to toggle source
# File lib/forgery/forgery/name.rb, line 27
def self.job_title
  dictionaries[:job_titles].random.sub('#{N}', self.job_title_suffix).unextend
end
job_title_suffix() click to toggle source
# File lib/forgery/forgery/name.rb, line 31
def self.job_title_suffix
  dictionaries[:job_title_suffixes].random.unextend
end
last_name() click to toggle source
# File lib/forgery/forgery/name.rb, line 3
def self.last_name
  dictionaries[:last_names].random.unextend
end
location() click to toggle source
# File lib/forgery/forgery/name.rb, line 43
def self.location
  dictionaries[:locations].random.unextend
end
male_first_name() click to toggle source
# File lib/forgery/forgery/name.rb, line 15
def self.male_first_name
  dictionaries[:male_first_names].random.unextend
end
suffix() click to toggle source
# File lib/forgery/forgery/name.rb, line 39
def self.suffix
  dictionaries[:name_suffixes].random.unextend
end
title() click to toggle source
# File lib/forgery/forgery/name.rb, line 35
def self.title
  dictionaries[:name_titles].random.unextend
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.