Skip to content

A simple fizzbuzz implementation in Crystal (study purpose)

License

Notifications You must be signed in to change notification settings

mauricioklein/crystal-fizzbuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Fizzbuzz

A simple FizzBuzz implementation on Crystal (study purpose).

Installation

$ crystal deps

Tests

$ crystal spec

Usage

Fizzbuzz.of(3) # "Fizz"
Fizzbuzz.of(5) # "Buzz"
Fizzbuzz.of(15) # "FizzBuzz"
Fizzbuzz.of((5..10)) # "Buzz, Fizz, 7, 8, Fizz, Buzz"

Contributing

  1. Fork it ( https://github.com/[mauricioklein]/crystal-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

Contributors

About

A simple fizzbuzz implementation in Crystal (study purpose)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published