301 B
301 B
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 $SHIPMENTS_PER_DAY > sample_file.txt
Run the calculator
$ ruby bin/run.rb sample_file.txt