Fish
Did you ever want to have ASCII-fish in your application, but you are too lazy to make them yourself? This gem does the job for you.
Fish is inspired by the gem 'dicks'.
Installation
Add this line to your application's Gemfile:
gem 'fish'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fish
Usage
Fish.fish # '><(((°>'
Fish.fish(5) # '><(((((°>'
Fish.fish(3, false) # '<°)))><'
Fish.many_fish(3, 3, false) # ['<°)))><', '<°)))><', '<°)))><']
Fish.random_fish # returns random fish
Fish.many_random_fish(3) # return an array of 3 random fish
Fish.is_fish?('<°)))><') # true
Contributing
- Fork it
- 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 new Pull Request