0.0
No commit activity in last 3 years
No release in over 3 years
Generates a random word. Credit goes to the authors of the random-word gem
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.1.0, ~> 0.1
 Project Readme

Introducing the random_word gem

What I like about this gem is that it's quick and easy to use.

require 'random_word'

RandomWord.adjs.next   #=> "mercurial" 
RandomWord.adjs.next   #=> "sweetheart" 
RandomWord.adjs.next   #=> "resentful" 
RandomWord.adjs.next   #=> "atmospherical" 
RandomWord.adjs.next   #=> "unbreakable" 
RandomWord.adjs.next   #=> "kosher" 
RandomWord.nouns.next  #=> "spitz" 
RandomWord.nouns.next  #=> "cortinarius_corrugatus" 
RandomWord.nouns.next  #=> "pocket_battleship" 

Note: I had previously used the random-word gem, however recently I observed a Fiber called across threads error. See ?ruby on rails - FiberError - Fiber called across threads https://stackoverflow.com/questions/28951261/fibererror-fiber-called-across-threads#31819692?

Resources

randomword gem random dictionary word