Sha256: 7caa3a1dfa6e0990d2c3e2a6743b709c2ebb3c6254884e086d40b7b1d4890fef
Contents?: true
Size: 206 Bytes
Versions: 1
Compression:
Stored size: 206 Bytes
Contents
# 一口价 module Trade module Model::PromoteCharge::FinalPromoteCharge # 返回原价与一口价之间的差,负数。 def final_price(amount) -(amount - parameter) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_trade-0.0.3 | app/models/trade/model/promote_charge/final_promote_charge.rb |