Sha256: 2a66d31126ea48568bbddc2ac4a1e260cae11cab3576c0f5f241f3b5c95bc2de
Contents?: true
Size: 640 Bytes
Versions: 4
Compression:
Stored size: 640 Bytes
Contents
class NameForgery < Forgery def self.last_name dictionaries[:last_names].random end def self.first_name [dictionaries[:male_first_names], dictionaries[:female_first_names]].random.random end def self.full_name "#{self.first_name} #{self.last_name}" end def self.male_first_name dictionaries[:male_first_names].random end def self.female_first_name dictionaries[:female_first_names].random end def self.company_name dictionaries[:company_names].random end def self.title dictionaries[:name_titles].random end def self.suffix dictionaries[:name_suffixes].random end end
Version data entries
4 entries across 4 versions & 2 rubygems