RubyMoney - Money Heuristics
January 13, 2026 · View on GitHub
This is a module for heuristic analysis of the string input for the money gem. It was formerly part of the gem.
Installation
Include this line in your Gemfile:
gem "money-heuristics"
Usage
>> Money::Currency.analyze "USD 200"
=> ["USD"]
>> Money::Currency.analyze "zł123,000.50"
=> ["PLN"]
Contributing
See the Contribution Guidelines