版本:0.1.1 · 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. · 许可证:MIT · 累计下载:141 · 当前版本下载:75Pratik Baravkar