Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/djpowers/keno
A Ruby gem to generate Keno winning numbers.
https://github.com/djpowers/keno
Last synced: about 1 month ago
JSON representation
A Ruby gem to generate Keno winning numbers.
- Host: GitHub
- URL: https://github.com/djpowers/keno
- Owner: djpowers
- License: mit
- Created: 2014-11-01T20:06:48.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-10T11:30:43.000Z (almost 10 years ago)
- Last Synced: 2024-04-24T19:22:42.251Z (9 months ago)
- Language: Ruby
- Homepage: https://rubygems.org/gems/keno
- Size: 129 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Keno
A Ruby gem to generate [Keno](http://en.wikipedia.org/wiki/Keno) winning numbers.
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'keno'
```And then execute:
$ bundle
Or install it yourself as:
$ gem install keno
## Usage
```ruby
Keno::WinningNumbers.new.generate # => [9, 13, 15, 19, 20, 22, 23, 32, 36, 38, 46, 47, 49, 61, 62, 71, 75, 77, 78, 80]
```## Contributing
1. Fork it ( https://github.com/djpowers/keno/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