ASCII emoticon generator for Rubyist. A ruby version of https://github.com/turingou/o3o
Add this line to your application's Gemfile:
gem 'o3o'
And then execute:
$ bundle
Or install it yourself as:
$ gem install o3o
require "o3o"
puts O3o.fetch('smile') // will output (●'◡'●)ノ♥
puts O3o.fetch('cry') // will output π__π
// after installation
// show command help
$ o3o -h
Commands:
o3o help [COMMAND] # Describe available commands or one specific command
o3o ls # list all available types
o3o fetch # fetch a type
o3o random # fetch a random type
// fetch a type
$ o3o fetch smile
^∀^
// list all available types
$ o3o ls
laugh 笑 哈哈
wanna
chill 摊手 手 无奈
smile
angry 生气 上火 恼 怒 疯 啊 草 cao 靠 kao
猪 zhu pig
sorry 错 道歉 该打 跪 cuo
...
// fetch a random type
$ o3o random
(^・(I)・^)
- 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