Ruboty::Variable
An Ruboty Handler + Actions to ruboty-variable.
Ruboty is Chat bot framework. Ruby + Bot = Ruboty
Installation
Add this line to your application's Gemfile:
gem 'ruboty-variable'
And then execute:
$ bundle
Commands
| Command | Pattern | Description |
|---|---|---|
| set_value | /var (?<key>\S+?) (?<value>\S+?)z/ | Set value |
| get_value | /var (?<key>\S+?)z/ | Get value |
Usage
- Set value and get value
> ruboty var hoge 3
Set 3 to hoge
> ruboty var hoge
3
> ruboty var piyo
Undefined piyo
ENV
| Name | Description |
|---|---|
Dependency
| Name | Description |
|---|---|
Contributing
- Fork it ( https://github.com/snakazawa/ruboty-variable/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