random-yesno
Randomly show yes or no gifs
Installation
With bundle, add this line to Gemfile:
gem "random_yesno"
Or install:
$ gem install random_yesno
Usage
RandomUsername.show
=> {"answer"=>"no", "forced"=>false, "image"=>"https://yesno.wtf/assets/no/6-4bf0a784c173f70a0cab96efd9ff80c9.gif"}
$ ruby -Ilib ./bin/yesno
=> {"answer"=>"no", "forced"=>false, "image"=>"https://yesno.wtf/assets/no/6-4bf0a784c173f70a0cab96efd9ff80c9.gif"}
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Include tests with your changes (run
raketo test) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request