Randyname
Generate friendly and happy memorable random names to use in your apps or anywhere else.
Installation
Add this line to your application's Gemfile:
gem 'randyname'
And then execute:
$ bundle
Or install it yourself as:
$ gem install randyname
Usage
Randyname is pretty simple. There is nothing to configure and it only has a single method, .randymize
:
Randyname.randymize
Randyname.randymize(100)
Randyname.randymize(0)
Randyname.randymize(9999, '.')
Randyname.randymize(0, ' ')
Customize words
Create config/initializers/randyname.rb
Add your custome list as follow
Randyname.adjectives = %w{good better}
Randyname.nouns = %w{boy girl}