module FFaker::NameES
Constants
- FEMALE_PREFIXES
- FIRST_NAMES
- MALE_PREFIXES
- PREFIXES
Public Instance Methods
Source
# File lib/ffaker/name_es.rb, line 28 def female_name_with_prefix "#{female_prefix} #{first_name_female} #{last_name} #{last_name}" end
Source
# File lib/ffaker/name_es.rb, line 56 def female_prefix fetch_sample(FEMALE_PREFIXES) end
Source
# File lib/ffaker/name_es.rb, line 36 def first_name fetch_sample(FIRST_NAMES) end
Source
# File lib/ffaker/name_es.rb, line 40 def first_name_female fetch_sample(FIRST_NAMES_FEMALE) end
Source
# File lib/ffaker/name_es.rb, line 44 def first_name_male fetch_sample(FIRST_NAMES_MALE) end
Source
# File lib/ffaker/name_es.rb, line 48 def last_name fetch_sample(LAST_NAMES) end
Source
# File lib/ffaker/name_es.rb, line 32 def male_name_with_prefix "#{male_prefix} #{first_name_male} #{last_name} #{last_name}" end
Source
# File lib/ffaker/name_es.rb, line 60 def male_prefix fetch_sample(MALE_PREFIXES) end
Source
# File lib/ffaker/name_es.rb, line 15 def name "#{first_name} #{last_name} #{last_name}" end
In Spain we use two surnames: The father’s and the mother’s
Source
# File lib/ffaker/name_es.rb, line 19 def name_with_prefix fetch_sample( [ female_name_with_prefix, male_name_with_prefix ] ) end