RubyMoney/money — pull request #155 by neilmiddleton (2012-03-09 10:36:00+00:00)
Title: Allow parsing of money values prefixed by symbols in key currencies

I've put together this code to satisfy a requirement I have where the user can type in a value with the currency as a symbol:

$4.99
€250

etc

Due to the fact there are 30 odd currencies that use '$' we cannot detect every currency reliably from just the symbol, so I've done this to only support what I consider to be the top 3 currencies, USD, EUR and GBP.