Define a pricing waterfall (base price, overrides, percentage and fixed discounts, volume tiers, rounding) with a small Ruby DSL, or load the same rules as data from JSON, YAML or a database, validated with every problem's path for admin forms. Custom step types, value sources and operators are registered in Ruby, so stored rules never run code. Every result returns the final price in integer cents plus a step-by-step trace explaining how it was reached. Pure Ruby, no runtime dependencies, works with or without Rails.
Required Ruby Version
>= 3.2.0
Authors
Pratik Baravkar
Versions
-
0.1.1
-
source
- 0.1.1 source December 02, 2026 (69.5 KB)
-
-
0.1.0
-
source
- 0.1.0 source December 02, 2026 (68.5 KB)
-
Pushed by
SHA 256 checksum
Provenance
Source Commit
Build File