Cognate
This is a gem that parses a message, and compares it to various matchers. When it finds a match, it executes an associated block of code or method, returning the output of whatever was run.
Installation
Add this line to your application's Gemfile:
gem 'cognate'
And then execute:
$ bundle
Or install it yourself as:
$ gem install cognate
Usage
Coming Soon!
Contributing
- Fork it ( https://github.com/[my-github-username]/cognate/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request