Method: FFaker::NameGR#last_name
- Defined in:
- lib/ffaker/name_gr.rb
#last_name ⇒ Object
Random last name (male or female)
20 21 22 23 24 25 |
# File 'lib/ffaker/name_gr.rb', line 20 def last_name case rand(0..1) when 0 then male_last_name when 1 then female_last_name end end |