Skip to content

RubyMoney/money-heuristics

Repository files navigation

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 Ruby 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

About

A heuristics module for `money` gem (formerly part of it)

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

Languages