Home

Awesome

RubyMoney - Money Heuristics

This is a module for heuristic analysis of the string input for the money gem. It was formerly part of the gem.

Gem Version Build Status License

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