Method: Rex::Text.rand_name
- Defined in:
- lib/rex/text.rb
.rand_name ⇒ Object
Generate a name
1618 1619 1620 1621 1622 1623 1624 |
# File 'lib/rex/text.rb', line 1618 def self.rand_name if rand(10) % 2 == 0 Names_Male.sample else Names_Female.sample end end |