MegaSena
A Ruby gem to generate brazilian lottery drawings, based on course Build a Ruby Gem of @brandonhilkert.
Installation
Add this line to your application's Gemfile:
gem 'mega_sena'
And then execute:
$ bundle
Or install it yourself as:
$ gem install mega_sena
Usage
MegaSena::Drawing.new.draw # => [23, 2, 12, 4, 3, 26, 59]
Contributing
- Fork it ( https://github.com/[my-github-username]/mega_sena/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