Skip to content
/ webster Public

Generate random short, non-offensive words. Good for human-readable confirmation codes.

License

Notifications You must be signed in to change notification settings

croaky/webster

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webster

Generate random short words. Good for human-readable confirmation codes.

Install

gem install webster

Usage

require 'rubygems'
require 'webster'

webster = Webster.new
webster.random_word

=> "spoonless"

Shoulda macro

 context "Subscription#activation_code" do
   setup do
     subscription = Factory :subscription
     @word = subscription.set_activation_code
   end

   should_be_webster_word "@word"
 end

Authors

Webster was written for Umbrella Today? by thoughtbot.

It was extracted into a stand-alone Ruby gem by Dan Croak and Jared Carroll.

License

MIT License, same terms as Ruby

About

Generate random short, non-offensive words. Good for human-readable confirmation codes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages