A Ruby library for translating English to Pig Latin.
This is also a project for practicing Ruby programming and getting familiar with a number of processes and tools used in the Ruby ecosystem, such as:
Installation
Add this line to your application's Gemfile:
gem 'ubyray'
And then execute:
$ bundle
Or install it manually with:
$ gem install ubyray
Usage
require 'ubyray'
word = 'Ruby'
translated = Ubyray.translate(word)
puts "The word '#{word}' in Pig Latin is '#{translated}'."
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request