Project

ruboty-eto

0.0
No commit activity in last 3 years
No release in over 3 years
Get Eto (Japanese Zodiac) name or emoji.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

>= 0
>= 0
 Project Readme

Ruboty::Eto

A Ruboty Handler + Actions to Get Eto (Japanese Zodiac) name or emoji.

Gem Version

Ruboty is Chat bot framework. Ruby + Bot = Ruboty

Installation

Add this line to your application's Gemfile:

gem 'ruboty-eto'

And then execute:

$ bundle

Or install it yourself as:

$ gem install ruboty-eto

Commands

Command Pattern Description
names /eto names\z/ get eto names
name /eto name (?<year>d{4})\z/ get eto name from year
emoji /eto emoji (?<year>d{4})\z/ get eto emoji from year

Usage

names

  • get eto names
>ruboty eto names
>子丑寅卯辰巳午未申酉戌亥

name

  • get eto name from year
>ruboty eto name 1977
>巳

emoji

  • get eto emoji from year
>ruboty emoji name 1977
>:snake:

ENV

Name Description
-- --

Dependency

Name Description
eto gem eto gem

Contributing

  1. Fork it ( https://github.com/tbpgr/ruboty-eto/fork )
  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 a new Pull Request