Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tdumitrescu/old_yeller

Example Ruby gem. One step above Hello World.
https://github.com/tdumitrescu/old_yeller

Last synced: about 1 month ago
JSON representation

Example Ruby gem. One step above Hello World.

Awesome Lists containing this project

README

        

# OldYeller

Example Ruby gem, as livecoded during the [1/14/14 meetup](http://www.meetup.com/Software-Design-in-Ruby-Study-Group/events/153517992/) of the SF Software Design in Ruby Study Group.

Most of the structure of this README was auto-generated by Bundler with the `bundle gem` command.

## Installation

Add this line to your application's Gemfile:

gem 'old_yeller'

And then execute:

$ bundle

Or install it yourself as:

$ gem install old_yeller

## Usage

Call `OldYeller.bark` to transform a string:

```ruby
OldYeller.bark "Give me food!"
=> "RUFF! Give me food!"
```

## Running tests

`bundle exec rspec`

## Contributing

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request