bin | ||
lib | ||
sig | ||
spec | ||
.gitignore | ||
.rspec | ||
.standard.yml | ||
.tool-versions | ||
CODE_OF_CONDUCT.md | ||
Gemfile | ||
Gemfile.lock | ||
planet_express_express.gemspec | ||
Rakefile | ||
README.md |
PlanetExpressExpress
A data driven approach for solving a shipping discount calculator.
Setup
- Ruby 3.x
Usage
Generating sample data
$ ruby bin/generate_data.rb $SAMPLE_SIZE > sample_file.txt
Run the calculator
$ ruby bin/run.rb sample_file.txt