Skip to content

tbpgr/ruboty-fizzbuzz

Repository files navigation

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

  1. Fork it ( https://github.com/tbpgr/ruboty-fizzbuzz/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

About

A Ruboty Handler + Actions to output fizzbuzz result.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages