Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/spilth/ubyray
Ruby Gem for Pig Latin Translation
https://github.com/spilth/ubyray
pig-latin ruby
Last synced: about 2 months ago
JSON representation
Ruby Gem for Pig Latin Translation
- Host: GitHub
- URL: https://github.com/spilth/ubyray
- Owner: spilth
- License: mit
- Created: 2012-08-15T03:25:01.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2022-05-18T02:47:14.000Z (over 2 years ago)
- Last Synced: 2024-03-14T22:52:42.022Z (10 months ago)
- Topics: pig-latin, ruby
- Language: Ruby
- Homepage:
- Size: 445 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://secure.travis-ci.org/spilth/ubyray.png?branch=master)](http://travis-ci.org/spilth/ubyray) [![Code Climate](https://codeclimate.com/github/spilth/ubyray.png)](https://codeclimate.com/github/spilth/ubyray) [![Coverage Status](https://coveralls.io/repos/spilth/ubyray/badge.png)](https://coveralls.io/r/spilth/ubyray)
# [Ubyray](http://spilth.org/ubyray/)
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:
- [Bundler](http://bundler.io)
- [Rake](http://rake.rubyforge.org)
- [RSpec](http://rspec.info)
- [Cucumber](http://cukes.info)
- [Guard](http://guardgem.org)
- [TravisCI](https://travis-ci.org)
- [Code Climate](https://codeclimate.com)
- [RubyGems](http://rubygems.org)
- [Ruby Doc](http://ruby-doc.org)
- [Yard](http://yardoc.org)
- [Relish](https://www.relishapp.com)## 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
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Added some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request## Ubyray on...
- [GitHub](https://github.com/spilth/ubyray/)
- [Travis CI](https://travis-ci.org/spilth/ubyray/)
- [Code Climate](https://codeclimate.com/github/spilth/ubyray/)
- [Ruby Doc](http://www.rubydoc.org/github/spilth/ubyray)
- [Relish](http://relishapp.com/spilth/ubyray/)
- [RubyGems](https://rubygems.org/gems/ubyray/)