Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

15 lines (12 sloc) 0.25 kB

A Pricing Mechanism in Ruby

Goal: produce something with an API that works like this:

co = Checkout.new(pricing_rules)
co.scan(item)
co.scan(another_item)
co.total

Running The Tests

rake test

Jump to Line
Something went wrong with that request. Please try again.