Skip to content

I Need A Word or INAW is a gem available for Ruby, used to generate a random word in multiple languages.

License

Notifications You must be signed in to change notification settings

Yuminaire/i-need-a-word

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

INAW (I Need A Word)

INAW is a RubyGem that allows you to randomly choose a word in different languages.

For the time being it only has online support, which means it will choose a word on a random word generator website but I will add offline support in the near future.

Languages available are: Arabic (AR), Danish, (DA), Dutch (NL), Finnish (FI), French (FR), German (DE), Italian (IT), Portuguese (PT), Spanish (ES), Swedish (SV).

See Usage for how to use INAW.

Installation

Add this line to your application's Gemfile:

gem 'inaw'

And then execute:

$ bundle install

Or install it yourself as:

$ gem install inaw

Usage

Available languages parameters are: AR, DA, DE, ES, FI, FR, IT, NL, PT, SV.

require INAW

# chooses a random English word
random_english_word = INAW.word('EN')

# chooses a random French word
random_french_word = INAW.word('FR')

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/realYuushi/i-need-a-word.

License

The gem is available as open source under the terms of the MIT License.

About

I Need A Word or INAW is a gem available for Ruby, used to generate a random word in multiple languages.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published