RubyMoney / money-heuristics

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Ruby 100.0%