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