Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/tdumitrescu/old_yeller
- Owner: tdumitrescu
- License: mit
- Created: 2014-01-15T17:42:16.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-15T17:50:36.000Z (almost 11 years ago)
- Last Synced: 2024-10-17T21:43:18.479Z (2 months ago)
- Language: Ruby
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
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