Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 1.02 KB

README.md

File metadata and controls

63 lines (43 loc) · 1.02 KB

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