RubyMoney / monetize

A library for converting various objects into `Money` objects.
MIT License
430 stars 107 forks source link

Suggestion: Add idiomatic declarations #109

Closed terencedignon closed 3 years ago

terencedignon commented 6 years ago

It would be neat to be able to declare money values idiomatically, as you would with Rails time.
Some examples: 100.dollar 1.dollar 50.cents

antstorm commented 6 years ago

It might be tricky to get all the units/subunits included. Also should not be enabled by default since it's pretty obtrusive.