Categories: None [Edit]

has_price

https://rubygems.org/gems/has_price
https://github.com/maxim/has_price
A convenient DSL for defining complex price reader/serializer in a class and organizing a price breakdown. Price can be declared with items and groups which depend on other attributes. Price is a very simple subclass of Hash. This provides for easy serialization and flexibility in case of implementation changes. This way you can conveniently store the whole price breakdown in your serialized receipts. It also provides magic methods for convenient access, but can be fully treated as a regular Hash with some sprinkles on top.

Total

Ranking: 51,651 of 180,518
Downloads: 18,297

Daily

Ranking: 49,088 of 180,507
Downloads: 2

Depended by

RankDownloadsName

Depends on

RankDownloadsName
1,07428,156,952shoulda
1,78510,631,137rr

Owners

#GravatarHandle
1iconhakunin