Eulerplate
An an API for querying Project Euler AND a command line tool for creating test folders.
This is a fairly simple gem.
Installation
$ gem install eulerplate
Usage
To create a folder in the present working directory just type:
$ eulerplate new PROBLEM_NUMBER
for Problem 8, you will get a new directory:
- 8-largest-product-in-a-series
And two files in that directory:
- largest_product_in_a_series.rb
- largest_product_in_a_series_spec.rb
The spec file will come with a pending RSpec test requiring the ruby file.
Contributing
- Fork it ( https://github.com/[my-github-username]/eulerplate/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