Class: Sparky::Name
- Inherits:
-
Object
- Object
- Sparky::Name
- Defined in:
- lib/sparky/name.rb
Class Method Summary collapse
Class Method Details
.create ⇒ Object
6 7 8 9 |
# File 'lib/sparky/name.rb', line 6 def self.create FIRST_NAMES.split("\n").first "#{FIRST_NAMES.split("\n")[rand(600)]} #{LAST_NAMES.split("\n")[rand(600)]}" end |