PrimePrinter
Prime library for:
- printing prime multiplication table
- printing prime number at given position
Installation
Note: requires ruby 2.1.0+
Add this line to your application's Gemfile:
gem 'prime_printer'
And then execute:
$ bundle
Or install it yourself as:
$ gem install prime_printer
Usage
From command line run:
prime_printer
prime_printer position 10
Contributing
- Fork it ( https://github.com/[my-github-username]/prime_printer/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
Tests
bundle exec rake