Ruboty::Fizzbuzz
A Ruboty Handler + Actions to output fizzbuzz result.
Ruboty is Chat bot framework. Ruby + Bot = Ruboty
Installation
Add this line to your application's Gemfile:
gem 'ruboty-fizzbuzz'
And then execute:
$ bundle
Or install it yourself as:
$ gem install ruboty-fizzbuzz
Commands
Command | Pattern | Description |
---|---|---|
fizzbuzz | /fizzbuzz (?.*?)z/ | Output FizzBuzz result |
Usage
fizzbuzz
- Output FizzBuzz result
> ruboty fizzbuzz 15
FizzBuzz
> ruboty fizzbuzz 5
Buzz
> ruboty fizzbuzz 3
Fizz
> ruboty fizzbuzz 2
2
ENV
Name | Description |
---|---|
-- | -- |
Dependency
Name | Description |
---|---|
-- | -- |
Contributing
- Fork it ( https://github.com/tbpgr/ruboty-fizzbuzz/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